Pre loader

iOS & macOS Custom Gesture Modifier

iOS & macOS charts - Examples

Please note! These examples are new to SciChart iOS v4 release! SciChart’s OpenGL ES and Metal iOS and Metal macOS Chart library ships with hundred of Objective-C and Swift iOS & macOS Chart Examples which you can browse, play with and view the source-code. All of this is possible with the new and improved SciChart iOS Examples Suite and demo application for Mac, which ships as part of the SciChart SDK.

Download Examples

This example demonstrates how to createa custom gestures-based chart modifier that you can attach to a chart in your iOS application to perfrom a specific behaviour with SciChart iOS API. Any time you want to do something to alter the behavior of any built-in gesture modifiers, you should be thinking about creating a custom gesture-based chart modifier to do it.

In this example, a single finger vertical pinch-zoom gesture-based chart modifier is implemented to zoom the chart on X-Axis. Also it is enabled by double-tap, similar to how it works in Google Maps App.

Learn more from SCIGestureModifierBase API Documentation

The Swift and Objective-C source code for the iOS and macOS Custom Gesture Modifierexample is included below (Scroll down!).

Did you know that we have the source code for all our example available for free on Github?

Clone the SciChart.iOS.Examples from Github.

Also the SciChart iOS and Scichart macOS Trials contain the full source for the examples (link below).


View source code
View source code
View source code
View source code
View source code
View source code
Back to iOS & macOS charts Examples

iOS & macOS charts Examples

2D Charts
3D Charts
Featured Apps