Jump to content
Software FX Community

Zoom status

User (Legacy)

Recommended Posts

chart.Zoom (boolean property) will tell you this. However you can not

distinguish with this property weather the user already did the zoom or just

pressed the ToolBar button and is about to.

The GetScrollInfo method (Axis class) can tell you the current vie of a

particular axis. You can use this to determine if the chart has been zoomed

by comparing these limits with the axis's min and max.

Another way to achieve this is to capture the Mouse events in combination

with the Zoom property. If you receive a MouseUp event while the Zoom

property is ON, then you know that the chart is going to be zoomed right

after you return from the event.



Software FX, Inc.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...