SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I have a set of ChartModifiers on my SciChartSurface, carefully configured to work together like so:
<s:SciChartSurface.ChartModifier> <s:ModifierGroup> <s:LegendModifier x:Name="LegendModifier" /> <s:ZoomPanModifier ExecuteOn="MouseRightButton" ClipModeX="None" /> <s:RubberBandXyZoomModifier ExecuteOn="MouseLeftButton" /> <s:SeriesSelectionModifier /> <s:ZoomExtentsModifier ExecuteOn="MouseDoubleClick" /> <s:MouseWheelZoomModifier /> </s:ModifierGroup> </s:SciChartSurface.ChartModifier>
I also have a pair of VerticalLineAnnotations, which I create in the C#. These are used to select points on the series that has been selected with the SeriesSelectionModifier.
The problem is that after the sliders are dragged, the mouse up event causes the selected series to be unselected. How can I prevent this from happening?