SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.