We've had issues when a user has continually used the mouse wheel to zoom out of a Time Series Chart until the application has 'frozen'. Running JConsole on this 'frozen' application reveals that the Chart is actually painting on the EDT but taking a very long time to do so.
Is there a way to limit the amount of zoom that can be performed on a chart to prevent users from 'crashing' the application?
Limit zoom out?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Limit zoom out?
No, but that would be a good bug to fix.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: Limit zoom out?
I am experiencing a similar problem.
I'm using a line chart backed by a CategoryDataset.
The chart is zoomable using the mouse.
If the user keeps zooming in, eventually the app will freeze up.
Is there some method to override where the current axis values could be evaluated and further zooming could be prevented?
Thanks.
I'm using a line chart backed by a CategoryDataset.
The chart is zoomable using the mouse.
If the user keeps zooming in, eventually the app will freeze up.
Is there some method to override where the current axis values could be evaluated and further zooming could be prevented?
Thanks.
Ted Hill