[quote="skunk"]Did you try calling
[code]axis.setAutoRangeIncludesZero(false);[/code][/quote]
Sorry I missed this till now. It worked perfect. Thanks!
Search found 3 matches
- Mon Mar 24, 2008 8:02 pm
- Forum: JFreeChart
- Topic: AutoRange and Zoom
- Replies: 17
- Views: 34697
- Wed Feb 27, 2008 7:35 pm
- Forum: JFreeChart
- Topic: Polar Plot help needed
- Replies: 3
- Views: 6210
Opposite Problem
I have exactly the opposite problem. I don't want my plot zero-centered, but I can't seem to stop it. I can't find setAutoRangeIncludesZero for the axis (polarPlot.getAxis()), so I can't set it to false. My data is entirely from 0-90 degrees with a radius from 10-50. While the plot is nicely centere...
- Wed Feb 27, 2008 7:14 pm
- Forum: JFreeChart
- Topic: AutoRange and Zoom
- Replies: 17
- Views: 34697
An Additional Problem
Although my Y data ranges from 10 to 50, "Auto Range" consistently sets the minimum Y axis value at 0. This only happens when all of the Y data is > 0. The opposite happens when all the Y data is < 0: the maximum Y axis value is set to 0, despite the data only containing values from -100 to -30. Eve...