x, y axis

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

x, y axis

Post by Elio » Fri Aug 23, 2002 4:13 pm

Hi!!

How can i change the axis cross point of the chart?

For example: the shapes of my scatterPlot chart starts from the value (200, 100), and the axis cross point is the (0,0) point, and i want it to start from the point (200, 100), is it possible?

Thanks!
Elio

David Gilbert

Re: x, y axis

Post by David Gilbert » Mon Aug 26, 2002 8:39 am

If you call setAutoRangeIncludesZero(false) on both axes, you should get the axis ranges that fit your data. But that should be the default, so I'm not sure what is happening...

Regards,

DG.

Locked