SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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.
I had a question about having multiple Chart Modifiers active at the same time. I’m trying have 6 chart modifiers enabled at all times. Its seems like some of them don’t work. Here is my code
<sciChart:XAxisDragModifier ClipModeX="None" />
<sciChart:YAxisDragModifier IsEnabled="True" />
<sciChart:ZoomPanModifier IsEnabled="True" />
<sciChart:CursorModifier IsEnabled="True" ShowAxisLabels="False" ShowTooltip="True" />
<sciChart:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" />
The YAxisDragModifier and the ZoomPanModifier dont’ seem to work. Are some of the chart modifiers mutually exclusive or is there a “ClipModeX” type setting that I need to turn on for these to work.Thanks for all your help, I appreciate it.
Try setting ReceiveHandledEvents=True on those modifiers. We prevent the mouse-events from cascading down to subsequent modifiers (just like e.Handled in WPF). This allows you to have both ZoomPanModifier and RubberBandXyZoomModifier on different mouse-buttons and not have both react to a single mouse-event.
Hope this helps,
Please login first to submit.