Zoom the real-time chart below by dragging on the surface. Then double-click to reset zoom and start automatically scrolling again.
When you use AutoRanging in a SciChart.js chart, the chart will always automatically range to fit the data. This means that zoom, pan modifiers will not work on the chart. In order to allow both behaviors, this example demonstrates how to use the ZoomState property to determine when to zoom to fit, or when to allow user zooming.
Check in the source-code for how we use the SciChartSurface.ZoomState property to determine when to scroll and when to allow user-zooming.