Shared intercept on CategoryChart with multiple axes?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
va1210
Posts: 3
Joined: Fri Jul 30, 2004 9:43 am

Shared intercept on CategoryChart with multiple axes?

Post by va1210 » Mon Dec 12, 2005 3:52 pm

I have a category bar chart with 2 series, both mapping to their own axis (first on the left, second on the right). The chart looks great when all values are positive, but if one of the series happens to contain a negative value, the chart starts to look goofy (the series with the negative value looks like it's hovering, as it's intercept isn't at the bottom of the chart anymore, like the series with all-positive values). Is there some way of forcing both axes to share the y=0 line?

Thanks,

Ville

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 Dec 12, 2005 4:26 pm

It's not something JFreeChart can do right now, but it would be a good feature to add. I've entered this in the Feature Requests database:

http://sourceforge.net/tracker/index.ph ... tid=365494
David Gilbert
JFreeChart Project Leader

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

Locked