The <ChartTouchesDelegate> protocol is used to work with the events that are related with chart touch.
<NSObject>
<ChartTouchesDelegate>
Handled gestures:
Pan gesture. One or more fingers touch the object and drag it to a desired direction.
Pinch gesture. Two or more fingers touch the screen and move closer together or farther apart. Typically, moving the fingers closer zooms the image out, while moving the fingers apart zooms it in.
Rotation gesture. Two or more fingers touch the screen and move in a clockwise or counter-clockwise arc. The object handled with this gesture is rotated in the specified direction with corresponding speed.
Swipe gesture. One or several fingers touch the screen and move to an arbitrary direction. This is a discrete gesture, thus a single event is generated.
Tap gesture. One or more fingers press the object one or several times. This is a discrete gesture, thus only one event is generated for each tap.
chartTouchesBegan:withEvent:sender:. Called on starting to touch a chart.
chartTouchesCancelled:withEvent:sender:. Called when some event cancels chart touch.
chartTouchesEnded:withEvent:sender:. Called when one several fingers stop to touch a chart.
chartTouchesLongPressInView:. Called when a user presses a chart with one or several fingers for a long time.
chartTouchesMoved:withEvent:sender:. Called when one or several fingers move within a chart.
chartTouchesPanBeganInView:withTranslation:velocity:. Called on starting drag gesture.
chartTouchesPanChangedInView:withTranslation:velocity:. Called on changing the pan gesture.
chartTouchesPanEndedInView:withTranslation:velocity:. Called on stopping a pan gesture.
chartTouchesPinchBeganInView:withScale:velocity:. Called on starting pinch gesture.
chartTouchesPinchChangedInView:withScale:velocity:. Called on changing pinch gesture.
chartTouchesPinchEndedInView:withScale:velocity:. Called on stopping pinch gesture.
chartTouchesRotationBeganInView:withRotation:velocity:. Called on starting rotation gesture.
chartTouchesRotationChangedInView:withRotation:velocity:. Called on changing rotation gesture.
chartTouchesRotationEndedInView:withRotation:velocity:. Called on stopping rotation gesture.
chartTouchesSwipeInView:withDirection:. Called on executing swipe gesture.
chartTouchesTapInView:withPoint:. Called on executing swipe gesture.
See also: