Zoom 2 « Development « JFreeChart Q&A





2. zoom in jfreechart    jfree.org

if (zoomTrigger1 || zoomTrigger2) { if ((hZoom && (e.getX() < this.zoomPoint.getX())) || (vZoom && (e.getY() < this.zoomPoint.getY()))) { ...

3. Automatic scalling (zoom)    jfree.org

4. Zoming out (after zoom in) to original range    jfree.org

Hi, I have a chart with initial range set (0.85 - 1.25). When I zoom in and out again, the chart zooms out to a range starting from 0 to 1. Can this be simple resolved using some method call or do I need to implement the change listener and set the range again ? regards, Rudi Welter

5. Repainting the chart without loosing zoom    jfree.org

Hi. I just started using JFreeChart in my project and I'm loving it! I have this one problem; My data is constantly changed so I have to repaint the chart like every two seconds. I also need zooming and that works great. However, when data is changed and I call repaint manually, I will loose my zoom (the chart is restored ...

6. Exception: Requires xLow < xHigh when zooming    jfree.org

Hy all, i have seen some strange behavior reproducible in XYStepRendererDemo1 from the Developers Guide (v. 1.0.13). After a few zooms (7-10) on a line the line disappear. After one more zoom (on the empty chart) it throws the exception: Code: Select all Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Requires xLow < xHigh. at ...

7. Zoom limitation in JFreeChart?    jfree.org

8. Zoom-in shows -ve values, even if lower bound is set to 0.    jfree.org

Hi David. I have some historical data which content both +ve and -ve values. but to display only +ve values I have set the lower bound to 0 and it works properly i.e. display only +ve values and set the highest value on y axis automatically without setting the upper bound in the graph launched initially. But problem occures when I ...