A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
aloleary
- Posts: 20
- Joined: Wed Mar 26, 2003 4:32 pm
- Location: Dublin, Ireland
Post
by aloleary » Fri Jan 16, 2004 1:07 pm
It seems that auto range sets a minimum of >0.0
I need a way to get from GraphA (current) :
To GraphB (desired) :
Note the space in graph B that shows the 0 data better
-
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 » Fri Jan 16, 2004 7:24 pm
Zero is treated as a special value in the auto range calculation. Try the setAutoRangeStickyZero(boolean) method to change the default from true to false.