how to set the labels range of a NumberAxis

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

how to set the labels range of a NumberAxis

Post by Fishy » Fri Jul 26, 2002 11:56 am

Hi,

I would like to set manually, that in what range are the numbers on the vertical axis. I would like to see the only values, that i set in the range
is it possible, or not??

Thanks
Fishy

David Gilbert

Re: how to set the labels range of a NumberAxis

Post by David Gilbert » Fri Jul 26, 2002 12:14 pm

You can use the setRange(...) methods in the ValueAxis class.

Regards,

DG.

Locked