A new user to scichart needing a little guidance. I’m zooming and panning a chart succesfully using mouseWheelZoomModifier, zoomPanModifier and zoomExtentsModifier. I want to tabulate the extents of the chart after a mouse wheel zoom but cant seem to find an event which is triggered at the completion of a mouse wheel zoom. Hope you can help
Many thanks
- Ian Whitehouse asked 9 years ago
- You must login to post comments
Hi Ian,
It’s the MouseWheelZoomModifier.PerformZoom() method which is called to do the zoom. It’s protected/virtual so if you create a derived class to MouseWheelZoomModifier you can override this method.
Also you might find it useful to override the method MouseWheelZoomModifier.OnModifierMouseWheel().
Note that this will be called once for each mouse-wheel click. There is no way in WPF to get an event of ‘stopped mousewheel altogether’ but may I suggest using a technique to throttle the event, e.g, no changes after 500ms = assume the user has stopped.
Other FAQs which you may find useful are found below:
- Event after zoom in
- Modifier Zoom History
- How to get an Event on ZoomExtents
- AxisBase.VisibleRangeChanged event
Best regards,
Andrew
- Andrew Burnett-Thompson answered 9 years ago
- last edited 6 years ago
- You must login to post comments
Please login first to submit.