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 to the default scale).
I think that this can be fixed pretty easily by taking all the information about current view state (zoom) and after repainting putting the values back to the chart. I tinkered with this for a few hours and I can't get it to work.
Could someone please tell me what values I should get from the chart before repainting and how can I restore my previous zoom.
Thanks for a reply in advance!