Show only integers

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Mera

Show only integers

Post by Mera » Wed Feb 19, 2003 6:54 pm

I'm using the VerticalNumberAxis to display the values on the Y axis.
I want to use autoAdjustRange() in order to automatically "spread" the values on the axis but I also want only integers to be displayed.
The setAutoTickValue(false) displays only integers but also shows ALL the values in range which is a problem when the range is wide.

Any help will be welcomed.
Thanks.

Arnaud

Re: Show only integers

Post by Arnaud » Thu Feb 20, 2003 9:37 am

Hello,

Have a look in the forum...
http://www.object-refinery.com/phorum-3 ... 655&t=6653

Regards,
Arnaud

Locked