Dual Axis Code for 0.9.5

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

Dual Axis Code for 0.9.5

Post by Enrique » Wed Feb 05, 2003 8:24 pm

I know that this functionality will be introduced in the new release of JfreeChart my question is how do I code for two ranges that share the same x axis?

Is there any sample code I can get my hands on?

Thanks

Irv Thomae

Re: Dual Axis Code for 0.9.5

Post by Irv Thomae » Thu Feb 06, 2003 3:38 pm

I know that this capability already exists, at least for the case where the x-axis represents time. Look at class BasicTimeSeriesCollection, (on the jrefinery/data/ path) and if that's too time-specific for you, search the /data path for other classes that implement the same xxxDataset interfaces. Also, if your x-axis is indeed time, and you need faster performance, search the phorum archives for discussion of my "DynamicTimeSerriesCollection" class.

Irv Thomae
ISTS/IRIA/Dartmouth College
Hanover, NH (USA)

Locked