I have implemented the PriceVolume demo chart for my dataset .
It works fine when i have data for the primary dataset .
But when the primary dataset (the Y Axis data) is zero then the line is drawn at the center with value 0.000000 rather than starting inline with the X-Axis
TimeSeries Chart range problem
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
There isn't a solution for that at present. The code that controls this is in the autoAdjustRange() method in the NumberAxis class, so that's where a modification is required (I won't get a chance to fix this before I go on holiday, so you might want to have a go at it yourself).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

