WPF Charting Documentation - SciChart WPF Charts SDK v5.x
PinchZoomModifier

SciChart features multi-touch zooming via the PinchZoomModifier. To enable pinch zooming, simply add a PinchZoomModifier to your SciChartSurface.ChartModifier.

Declaring a PinchZoomModifier in XAML

Declaring a PinchZoomModifier
Copy Code
<!-- where xmlns:s="http://schemas.abtsoftware.co.uk/SciChart" -->
<s:SciChartSurface>
   <s:SciChartSurface.ChartModifier>
      <s:ModifierGroup>
         <s:PinchZoomModifier XyDirection="XYDirection"/>
      </s:ModifierGroup>
   </s:SciChartSurface.ChartModifier>
</s:SciChartSurface>

Declaring a PinchZoomModifier in Code

Declaring a PinchZoomModifier
Copy Code
var sciChartSurface = new SciChartSurface();
sciChartSurface.ChartModifier = new ModifierGroup(new PinchZoomModifier());

 

 


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

Email us to give feedback!