User (Legacy) Posted December 11, 2003 Report Share Posted December 11, 2003 Hello, Is there a way to find out if the user has zoomed the chart? chart.IsZoomed or something like that? Sincerely, Bernt Brenna Link to comment Share on other sites More sharing options...
Software FX Posted December 11, 2003 Report Share Posted December 11, 2003 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. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.