Time series is displaying each day twice on x axis in Products Posted February 15, 2011 Hi,I have the same problem with time axis. What should be the value of timePeriod to have only one point per date?thanks for help Annahier is a fragment from JRXML template: Code:...<field name="date" class="java.sql.Timestamp"/>...<timeSeriesChart> <chart> <reportElement x="0" y="15" width="611" height="240"/> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart> <timeSeriesDataset timePeriod="Day"> <timeSeries> <seriesExpression><![CDATA[$F{id}]]></seriesExpression> <timePeriodExpression><![CDATA[$F{date}]]></timePeriodExpression> <valueExpression><![CDATA[$F{value}]]></valueExpression> <labelExpression><![CDATA[$F{id}]]></labelExpression> </timeSeries> </timeSeriesDataset> <timeSeriesPlot> <plot/> <timeAxisFormat> <axisFormat> <labelFont/> <tickLabelFont/> </axisFormat> </timeAxisFormat> <valueAxisLabelExpression><![CDATA[dd.MM.YYYY]]></valueAxisLabelExpression> <valueAxisFormat> <axisFormat> <labelFont/> <tickLabelFont/> </axisFormat> </valueAxisFormat> </timeSeriesPlot> </timeSeriesChart>
Time series is displaying each day twice on x axis
in Products
Posted
Hi,
I have the same problem with time axis.
What should be the value of timePeriod to have only one point per date?
thanks for help
Anna
hier is a fragment from JRXML template: