Selected Values on X Axis

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
taruntrehan
Posts: 1
Joined: Tue Nov 02, 2010 9:59 am
antibot: No, of course not.

Selected Values on X Axis

Post by taruntrehan » Tue Nov 02, 2010 10:10 am

Hi All, i am new to jfree.
i am plotting a graph between date and a % score.
i am able to plot it but want to do an enhancement.
i want to list only those point on x axis that have matched values.
Eg -- (01/12/2010,1.0),(04/12/2010,2.0),(10/12/2010,3.0),(20/12/2010,4.0) are the combinations to be plotted.

I want the xaxis should only show these four points -- 01/12/2010,04/12/2010,10/12/2010,20/12/2010
Currently it shows all dates between 30/11/2010 to 22/12/2010.....

Can someone please suggest a solution.

I amd using DateAxis for xaxis values.

Locked