Pre loader

mouseWheelZoomModifier and zoom completion event

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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

  • You must to post comments
0
0

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:

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies