SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
I tried implementing pinch zooming for real time chart in the demo project(FIFO Performance Demo and ECG Monitor Demo) and found that it’s not possible.
I used the following code:
self.surface = [[SCIChartSurface alloc] initWithView: self.sciChartSurfaceView];
SCIPinchZoomModifier * pzm = [[SCIPinchZoomModifier alloc] init];
[pzm setModifierName:@”PinchZoom Modifier”];
self.surface.chartModifier = pzm;
If it is so, then how can I achieve it ?
For the feature you should rewrite the example littile bit, because in the example we use autoRange in axis with value SCIAutoRange_Always.
I’ve attached file *.m in archive you can use the code to make pinch zoom works.
Best Regards, Mykola
Please login first to submit.