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 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.

<sc:ModifierGroup x:Name="ChartZoom">
    <local:CustomMouseWheelZoomModifier />
    <sc:ZoomPanModifier ExecuteOn="MouseRightButton"/>
    <sc:TooltipModifier IsEnabled="True"/>

I’ve got multiple ZoomModifiers and any MouseUp will trigger the eventhandlers on many of them (e.g. the MouseUp after dragging a RubberBand zoom will also trigger a YAxisDrag MouseUp event). Is there a way to prevent this? Or to know which Modifier really took effect on the chart?


  • You must to post comments
Best Answer

Hi Matthew,

In our own internal modifiers, we look at whether e.Handled is true on the mouse events to prevent events form being handled more than once.

This is actually done internally to SciChart so if modifier A should STOP events from propagating, it should set e.Handled = true in the OnModifierMouseUp handler.

Try that, it should work!

If, alternatively you want a modifier to receive handled events, set ChartModifierBase.ReceiveHandledEvents = true.

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.