Jump to content
We've recently updated our Privacy Statement, available here ×

danreb

Members
  • Posts

    7
  • Joined

  • Last visited

danreb's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Did you had any chance in solving your problem? I am facing the same issue. Instead of the mean I would like to display the median of the RAW_values for each time periode in the timeseries. How can we get the hand on the raw_data used to fill the JfreeChart? I can compute the median on a "classical" XYdataset but in the case of a timeseriesChart (since the XYdataset is actually a Timeseriescollection) for each timeperiod there is at the most one Yvalue which is by default the average of the RAW_Yvalues. Can anyone please help? Many thanks. Bernard
  2. Hi, same problem for me with "Scatter Chart". I use jasperrepport 3.7.1 and create one repport with 2 Charts using the same dataset and dispalaying the same data on each axis: - Chart 1 = XY Line Chart - Chart2 = scatter Chart Using the xxxAxisMinValueExpression or AxisMaxValueExpression is working ok on Chart 1 but not on chart 2. No compilation Error on Chart 2 BUT the scale that is displayed has nothing to see with what was asked. Whatever value is entered for the xxxAxisMin/MaxValueExpressionthe, the displayed upperbound is "0" and the lower bound is negative (i.e. even if we just ask to have a MinValue ot 0). Thanks for u help. Post Edited by danreb at 02/15/2010 23:44
  3. with JR 3.7.1, that property is not working with "Scatter Chart" but is working xith XY Line Chart for example. Is there a particular reason for it or is it a real Bug? Thanks for comments. It looks there is an open topic on that particular subject, but no answer since months: http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=63133 Anyway the point here is that the MaxValue property is not working for all chart, is it supposed to work with scatter charts? Post Edited by danreb at 02/15/2010 23:25 Post Edited by danreb at 02/15/2010 23:47
  4. Is the <sortField/> tag somewhere available within the UI? OK it can always be used wihth the ireport XML view, but just for information maybe this is a new feature to add? Cheers,
  5. Actualy I don't think it is a problem with missing dates (i.e. gaps) in the data on which to base the time series. See the following case... OK try ------------ a datasource with a "OK_Date" field on which to base the timeserie in the graph (TimePeriodExpression). The data source is ORDERED on this field "OK_Date", and the field values aren't continuous on a daily basis. displaying the graph with a time period expressed by DAY is OK! KO try (null argument when express by day!) --------------------------------------------- using the same datasource with a "OK_Date" field . The data source is ORDERED on this field "OK_Date". BUT this time we use a variable "Display_Date" ,(validated with business logic),on which to base the timeserie in the graph (TimePeriodExpression). N.B. The "OK_Date" and "Display_Date" don't have the same chronological order. The day and month parts retain the same but some years are changed to YEAR-1. displaying the graph with a time period expressed by WEEK is OK! displaying the graph with a time period expressed by DAY is KO, with the following error: << Error filling print... Null 'period' argument. java.lang.IllegalArgumentException: Null 'period' argument.     at org.jfree.data.time.TimeSeries.addOrUpdate(TimeSeries.java:693)     at net.sf.jasperreports.charts.fill.JRFillTimeSeriesDataset.customIncrement(JRFillTimeSeriesDataset.java:146)     at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:175)     at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:148)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:736)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:252)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:110)     at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:923)     at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:826)     at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:59)     at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)     at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)     at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:858)     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)     at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Print not filled. Try to use an EmptyDataSource... >> The only explaination I can think of is the fact that the "Display_Date" isn't chronologicaly ordered anymore (eventhought when expressed by week it is OK??). Does anyone have advices on how to resolve this  "Null 'period' argument" error? Thanks in advance
  6. Hi, I think this is an evolution, but maybe there is another way to achieve this? e.g. On a time series Graph, I would like to have the time axis ticks display as the "day of the Year" or the "FullDate" regardinf the value of a reprot variable. Today it looks like it is not possible (??). It looks like it is only availabel as a Static Atribut of the axisFormat's xml tagi.e. <axisFormat tickLabelMask="D"> or<axisFormat tickLabelMask="YYYYMMDD"> would it be possible to use a labelExpression instead for the TimeAxis TickLabel? Thanks for any comments,
  7. sorry has this post found any answer? It looks like timeseries chart don't allow to have gaps in the values received from DB. i.e. It needs to receive a value for each day in a year (when we want to express data by day). But often in a dataset we can have missing days and hence JChart throws the Null period argument exception! How can we deal with those missing values in Jasperrepport TimeseriesChart. Thanks!
×
×
  • Create New...