To fix the scale

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

To fix the scale

Post by Flavia » Wed Feb 26, 2003 1:20 pm

Hi,

I want to fix the scale in x-axis. Is there a easy way to set this?

Thanks

Arnaud

Re: To fix the scale

Post by Arnaud » Thu Feb 27, 2003 8:59 am

Hello,

Depending on the type of Axis You're using, You can set the range of the axis. For example, have a look at the methods setMaximumAxisValue(double max) , setMinimumAxisValue(double min) of the ValueAxis class (http://www.object-refinery.com/jfreecha ... eAxis.html).


Regards,
Arnaud

Locked