Category: | Bug report |
Priority: | Normal |
Status: | Assigned |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
iReport Version 4.1.1 and 4.1.2.
When I create a timeseries chart with data produced every 5 minutes I try to change the Time period in the details Tab to minutes to display all data.
Each time after I close the Charts details window, the Time period is back to year.
4 Comments:
I have this same issue in 4.1.3 running on Windows 7. Anyone know if the flag can be added directly to the xml as a workaround?
Yes,
you can add the flag into the xml file. I had the same issue and find it to be a good workaround because ireport completely ignores this flag when saving the file. You get an error if you set the flag to a wrong value.
<timeSeriesDataset timePeriod="Milisecond">
...your code...
</timeSeriesDataset>
Took me half a day to find that problem cause google isnt much a help.
Shouldnt be hard to fix that problem...
Still getting this issue of forgetting the time scale in 4.5.1. I needed timePeriod="Hour" or it would miss points despite showing labels for every second hour (I had big data gaps)
I'm not sure if this works correctly anyway. If I supply three "Months"
2012-01-01 123
2012-02-01 234
2012-03-01 345
I get three data points but the category axis labels are as follows
4-jan, 11-jan, 18-jan, 25-jan, 1-feb, 8-feb, 15-feb, 22-feb, 29-feb
<timeSeriesChart>
<chart evaluationTime="Report">
</chart>
<timeSeriesDataset timePeriod="Month">
<dataset>
<incrementWhenExpression><![CDATA[$F{Month} != null]]></incrementWhenExpression>
</dataset>
<timeSeries>
<seriesExpression><![CDATA["Total Accounts"]]></seriesExpression>
<timePeriodExpression><![CDATA[$F{Month}]]></timePeriodExpression>
<valueExpression><![CDATA[$F{Users}]]></valueExpression>
</timeSeries>
</timeSeriesDataset>
<timeSeriesPlot isShowLines="true" isShowShapes="false">
<plot/>
</timeSeriesPlot>
</timeSeriesChart>