iOS Charting Documentation - SciChart iOS Charts SDK v3.x

ISCIAnnotationAdornerAction

@protocol ISCIAnnotationAdornerAction <NSObject>

Defines the interface for adorner action which is used during interfaction with ISCIAnnotation.

  • Called when adorner drag starts.

    Declaration

    Objective-C

    - (void)onAdornerDragStartedAt:(CGPoint)startPoint;

    Swift

    func onAdornerDragStarted(at startPoint: CGPoint)

    Parameters

    startPoint

    The x-y coordinate in pixels relative to parent ISCIAdornerLayer.

  • Called when adorner is dragged.

    Declaration

    Objective-C

    - (void)onAdornerDragByXDelta:(CGFloat)xDelta yDelta:(CGFloat)yDelta;

    Swift

    func onAdornerDrag(byXDelta xDelta: CGFloat, yDelta: CGFloat)

    Parameters

    xDelta

    The horizontal offset in pixels.

    yDelta

    The vertical offset in pixels.

  • Called when adorner drag ends.

    Declaration

    Objective-C

    - (void)onAdornerDragEnded;

    Swift

    func onAdornerDragEnded()