iOS Charting Documentation - SciChart

The SCIZoomExtentsModifier provides the ability to zoom-to-fit the entire chart via touch interaction.

Adding a ZoomExtentsModifier in Code

Objective C:

Adding ZoomExtents modifier
Copy Code
SCIZoomExtentsModifier * zem = [[SCIZoomExtentsModifier alloc] init];
[surface.chartModifiers add:zem];


Adding ZoomExtents modifier
Copy Code
let extendZoomModifier = SCIZoomExtentsModifier()        

You can also run ZoomExtents functionality without adding this modifier. SciChartSurface supports following methods you can call whenever you need it:

- zoomExtents
- zoomExtentsX
- zoomExtentsY

See Also

ChartModifier API