Several X-Axes in Chart

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

Several X-Axes in Chart

Post by Stefan Prange » Wed May 29, 2002 12:22 pm

Hello,

I wonder whether it's possible to create charts which have several X-Axes.
They are necessary e.g. when you want to plot a curve and its derivation in the same chart.

Can someone please tell me whether I can use JFreeChart to achieve this.

Thank you, Stefan Prange

Stefan Prange

Re: Several X-Axes in Chart

Post by Stefan Prange » Wed May 29, 2002 12:30 pm

Sorry,
I forgot to mention that the charts that I'd like to draw are mirrored at the bisecting line of the coordinate system.
Otherwise I would have to draw several Y-Axes.

Stefan

David Gilbert

Re: Several X-Axes in Chart

Post by David Gilbert » Thu May 30, 2002 12:20 pm

At the moment, you can only have one x-axis and one y axis per chart.

Except that there is also a combined charts feature that allows you to display several subplots in one chart, with all the subplots sharing either the x axis or the y axis. There's a couple of examples in the demo application.

If you have an example of what you are trying to display, that will help in the future when I start looking at adding secondary axes to plots.

Regards,

DG.

Locked