Hi,
Could somebody explain me how the Zoom in and Zoom out feature works on the charts. I tried there are some changes happening on the charts, but I am not able to understand how the changes happen.
Please tell me if I can find some reading material atleast to understand this feature.
Regards
Girish
Zoom In and Zoom Out feature
Re: Zoom In and Zoom Out feature
Hi Girish,
Do you mean the zoom options in the popup menu? All these are doing is modifying the lower and upper bounds on one or both of the axes and redrawing the chart. The new range (zoomed in or out) is centered around the last point clicked on (where the popup menu appeared).
There's no documentation about this yet, your best bet (for now) is to follow the code from the actionPerformed(...) method in the ChartPanel class.
Regards,
DG.
Do you mean the zoom options in the popup menu? All these are doing is modifying the lower and upper bounds on one or both of the axes and redrawing the chart. The new range (zoomed in or out) is centered around the last point clicked on (where the popup menu appeared).
There's no documentation about this yet, your best bet (for now) is to follow the code from the actionPerformed(...) method in the ChartPanel class.
Regards,
DG.