Problem with Date adjustments in XYAreaChart.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Pavvi
Posts: 7
Joined: Thu Jul 20, 2006 11:45 am

Problem with Date adjustments in XYAreaChart.

Post by Pavvi » Fri Aug 04, 2006 11:19 am

Hi,

In the XYAreaChart, I am using dates along the x-axis and corresponding values along with y-axis.
I want the chart to be plotted only on the x-values and y-values present in the dataset.
But in the generated graph, the points plotted on x-axis are not the same as in the dataset values.
The graph is adjusting itself to the input dataset values.
Please let me know how to avoid this adjusting?
OR
Let me know how to set/modify the first value plotted on the x-axis along the vertical grid so that I can use DateTickUnit to display the other values.

Please note that I am using DateAxis to display the dates.

Thanks in advance,
Pavan.

SeanMcCrohan
Posts: 18
Joined: Thu May 11, 2006 11:22 pm

Post by SeanMcCrohan » Fri Aug 04, 2006 3:27 pm

Pavan - I'm not sure I understand. Is the problem that the datapoints being plotted don't match the data in the dataset? Or is it that the range of the X axis doesn't match the range of the data?

Locked