iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.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;

    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;

    Parameters

    xDelta

    The horizontal offset in pixels.

    yDelta

    The vertical offset in pixels.

  • Called when adorner drag ends.

    Declaration

    Objective-C

    - (void)onAdornerDragEnded;