SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Take a look at this tutorial, which goes into depth discussing the modifiers synced across multiple charts: http://http://www.scichart.com/synchronizing-chartmodifier-mouse-events-across-charts/
One caveat to note is modifiers which share a mouse event can prevent later modifiers from working, as the event is marked as handled. To receive an event even if handled, set ChartModifierBase.ReceiveHandledEvents = true.
Another idea is try using a different mouse button for the two events, e.g. Set the ExecuteOn property n the modifiers to choose how they are executed , e.g. Right mouse button or left.
Or… You can make use of the IsEnabled property to toggle which modifier is active e.g. Via binding to toolbars. We use this technique in a lot of our examples, such as Oscilloscope and SciTrader.
finally, failing all that if you can’t get exactly the behaviour you want, with our extensible ChartModifier api you can create custom modifiers.
Let me know if the above helps. I didn’t look at your solution yet (thank you however, it really helps us when people do this)’ so if the above doesn’t help tell me, I will take a look.
Please login first to submit.