SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
I have a multichart MVVM Light based application with each chart having its own view model. In particulat I have an XYScatter chart with multiple series, each coloured differently. I need to select a point in one of the series with the left mouse button such that all that series points change and the index of the selected series is available in my view model. Simultaneously I need to have the groupRubberBandZoomModifier, groupXAxisDragModifier & groupYAxisDragModifier enabled.
I’ve found a couple of ways of doing this, overriding a modifier or EventToCommand directly on the mouse events and re-drawing the appropriate series, but I either don’t get the interrupt or the groupRubberBandZoomModifier doesn’t work and I can’t figure out what is happening.
Please could you elaborate on how the interrupts are handled in this situation.
I think you need something like our Series Selection example. Also you could take a look at Hit tets datapoints example. Also, FYI, SciChart doesn’t support individual points highlighting, but this is in our SciChart 2.0 Roadmap. Please, find more info in Highlighting individual points topic.
Regarding shared modifiers, you should use the attached MouseManager.MouseEventGroup=”[groupName]” on ModifierGroup rather than MouseEventGroup from ChartModifierBase, because the last is used internally and doesn’t influence on how modifiers work. If you need to share some particular modifiers, please, find the solution here: Share rollover between charts.
Please, don’t hesitate to ask if you have any more questions!
Please login first to submit.