Line Graph Values Interval

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

Line Graph Values Interval

Post by Michael » Thu Jan 16, 2003 11:26 am

Hi!

I'm trying to make a line graph with values ranging from 100.00 to 106.00. The problem is, JFreeChart creates a chart that has a range of 0 to 107 and it doesn't display the differences in the values. How can I change the starting and ending values for the chart?

Thanks,

Michael

David Gilbert

Re: Line Graph Values Interval

Post by David Gilbert » Thu Jan 16, 2003 4:28 pm

You can use the setRange(...) method that numerical and date axes inherit from the ValueAxis class.

Regards,

Dave Gilbert

Locked