WPF Charting Documentation - SciChart WPF Charts SDK v5.x
Enabling or Disabling Zoom ChartModifiers at runtime

You can enable or disable ChartModifiers at runtime via the IsEnabled property. Use the following to disable conflicting modifiers with some controls in your UI.

Enabling or Disabling Zoom ChartModifiers at runtime
Copy Code
<CheckBox x:Name="chkRubberBand" IsChecked="True" s:ToggleButtonExtensions.GroupName="zoomPan"/>
<CheckBox x:Name="chkZoomPanModifier" IsChecked="True" s:ToggleButtonExtensions.GroupName="zoomPan"/>

<!-- where xmlns:s="http://schemas.abtsoftware.co.uk/SciChart" -->
         <s:RubberBandXyZoomModifier IsEnabled="{Binding ElementName=chkRubberBand, Path=IsChecked, Mode=TwoWay}"/>
              <s:ZoomPanModifier IsEnabled="{Binding ElementName=chkZoomPanModifier, Path=IsChecked, Mode=TwoWay}"/>



SCICHART ® is a Registered Trademark in the UK, US and EEC. Copyright SciChart Ltd 2011-2018.

Email us to give feedback!