Redraw a chart after zooming [JFreeChart]

时间:2016-10-19 13:38:18

标签: java jfreechart

I am currently working on a XYChart that displays a signal (sinusoïds for example). I am currently able to display it really nicely, but I have a problem. I want to be able to display 10000 points per seconds, but the displaying part is getting really slow.

I was asking myself if it was possible to draw a "new" chart with the exact coordinates the user zoomed on. The more I zoom, the more points I will be able to place. The original zoom will get a number of points divided by the time elapsed.

Is there a zooming event that I can manipulate on a drag and drop zoom or a mouse wheel zoom ? And can I get informations about the number of pixels on the X Axis ?

Thanks, Proxy.

0 个答案:

没有答案