Dual axes graph

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
nilesh
Posts: 20
Joined: Wed May 21, 2003 10:56 am
Contact:

Dual axes graph

Post by nilesh » Sun Sep 07, 2003 7:03 am

Is it possible to have dual axes graph with two plots (bar and line) referece to one axis and another plot (line) reference to another axis ?
If yes please let me know how to do it.

Thank you

Nilesh

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 » Sun Sep 07, 2003 9:19 pm

This is supposed to be possible, but looking at some demo code right now it appears to be broken. I'll have it fixed soon...
David Gilbert
JFreeChart Project Leader

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

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 » Mon Sep 08, 2003 10:56 am

This is fixed in CVS now, ready for the 0.9.12 release. The demo code that does what you want is OverlaidBarChartDemo.java.
David Gilbert
JFreeChart Project Leader

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

nilesh
Posts: 20
Joined: Wed May 21, 2003 10:56 am
Contact:

Thank you

Post by nilesh » Fri Sep 12, 2003 9:25 am

It's a great help thanks

Nilesh :P

Locked