A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Ramu
Post
by Ramu » Mon Sep 22, 2003 8:27 am
Hi all,
I am a new Bie ,i am working on xy-plot .
I need to restrict my x-axis display labels only to integers i.e 1,2 ,3 and would not want an interemediate axis like at 1,1.5,2,2.5,...
else in other words the x-axis range between any two axis should always be 1 in my case.
Can anyone please help.
Thanks and Regards
Ram
-
arnaud
- Posts: 86
- Joined: Wed Mar 19, 2003 2:59 pm
- Location: Paris, France
-
Contact:
Post
by arnaud » Mon Sep 22, 2003 7:52 pm
Hello,
Have a look at tickUnits and org.jfree.chart.axis.NumberAxis.setTickUnit(NumberTickUnit unit);
Regards,
Arnaud