For one given dataset, I can draw the chart.
Here, I'd like to know, when I use mouse to drag the chart (a Rectangle), the chart will be zoomed. Obviously, the new chart has a sub dataset.
How to get the sub dataset? Thanks a lot
How to get the sub dataset from the mouse zoom operation?
There is no "sub dataset". Zooming is implemented by changing the range of the axes. After the zoom operation is completed, you can simply call this method on each affected axis
Code: Select all
public Range getRange()
Got it, thanks a lotskunk wrote:There is no "sub dataset". Zooming is implemented by changing the range of the axes. After the zoom operation is completed, you can simply call this method on each affected axisCode: Select all
public Range getRange()