A second Y axis

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

A second Y axis

Post by Laszlo Tersztenyak » Wed Dec 05, 2001 2:27 pm

As I see JFreeChart does not support currently using a second Y axis (with different value range for some data series).
Is it planed to support it in the future?
What do you think what is the simplest way to implement this feature? I need this very soon so maybe I will implement it myself, but some advice would be very useful.

Regard,
Laszlo

David Gilbert

RE: A second Y axis

Post by David Gilbert » Thu Dec 06, 2001 10:18 am

Hi Laszlo,

Bill Kelemen has contributed some code for combined charts...it allows you to display more than one plot on a chart (by dividing up the plot area into vertical segments), each plot having it's own vertical axis.

I'll be committing this code into CVS on SourceForge today, tomorrow or at the weekend (i.e. when I find time) and it will be included in version 0.6.1 which I hope to release next week some time.

Regards,

DG.

Bill Kelemen

RE: A second Y axis

Post by Bill Kelemen » Sun Dec 09, 2001 10:30 pm

Hi Laszlo,

In addition to the vertically combined charts David mentioned, the code I prepared for combined charts will also allow you to overlay charts, but then all the overlaid data series will share the same Y-axis that will auto scale automatically.

Is this what you need?

Regards,
Bill

matt

RE: A second Y axis

Post by matt » Fri Jan 04, 2002 12:17 am

hi Bill,
I am also interested in overlaying charts. Did this get into a recent release yet?
thanks,
matt


>>
Hi Laszlo,

In addition to the vertically combined charts David mentioned, the code I prepared for combined charts will also allow you to overlay charts, but then all the overlaid data series will share the same Y-axis that will auto scale automatically.

Is this what you need?

Regards,
Bill

Bill Kelemen

RE: A second Y axis

Post by Bill Kelemen » Fri Jan 04, 2002 2:16 am

Hi Matt,
Yes this is in 0.7.0. Some bug fixes will come in the next release from David.
Regards,
Bill

Locked