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