iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCISelectionPassManager

@interface SCISelectionPassManager : NSObject <ISCISelectionPassManager>

Default implementation of ISCISelectionPassManager.

  • Creates an instance of SCISelectionPassManager.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithParentSurface:
        (nonnull id<ISCIChartSurface3D>)parentSurface;

    Parameters

    parentSurface

    The parent surface.

  • Gets the Selection ID using a screen coordinates.

    Declaration

    Objective-C

    + (unsigned long long)getSelectionIdForX:(float)x y:(float)y;

    Swift

    class func getSelectionIdFor(x: Float, y: Float) -> UInt64

    Parameters

    x

    The x coordinate.

    y

    The y coordinate.

    Return Value

    The Selection ID.

  • Gets the Entity Id from selection Id passed in.

    Declaration

    Objective-C

    + (int)getEntityIDFrom:(unsigned long long)selectionId;

    Swift

    class func getEntityID(from selectionId: UInt64) -> Int32

    Parameters

    selectionId

    The selection Id.

    Return Value

    The Entity ID.

  • Gets the Vertex Id from selection Id passed in.

    Declaration

    Objective-C

    + (int)getVertexIDFrom:(unsigned long long)selectionId;

    Swift

    class func getVertexID(from selectionId: UInt64) -> Int32

    Parameters

    selectionId

    The selection Id.

    Return Value

    The Vertex ID.