the axis X is equal to axis Y.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
arord
Posts: 1
Joined: Wed Aug 23, 2006 3:24 pm

the axis X is equal to axis Y.

Post by arord » Wed Aug 23, 2006 3:49 pm

I create a XYLineChart but the axis X and axis Y are not equal.

I want the axis X is equal to axis Y.

Is it possible?

Thanks

dan1son
Posts: 12
Joined: Thu Jun 29, 2006 7:06 pm
Location: Austin, TX

Post by dan1son » Wed Aug 23, 2006 5:18 pm

That wasn't very descriptive. What exactly do you mean by equal?

I can't think of a graph where I would want the X and Y axis to be "equal".

Sounds like no matter what your dataset is you'd always have a diagonal line

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Aug 23, 2006 5:55 pm

The original poster probably means a chart where the units along the x-axis are equal (in pixels) to the units along the y-axis (so that squares look square). JFreeChart doesn't support that at present (it would need some changes to the auto-range mechanism that could get a little tricky when there are multiple axes to consider) but it would be a nice feature.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked