iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCIPitchforkCreationState

NS_ENUM(NSInteger, SCIPitchforkCreationState) {
    /// Idle — waiting for the first pan gesture.
    SCIPitchforkCreationStateIdle = 0,
    /// Pan 1 active — A is locked, user is dragging toward B.
    SCIPitchforkCreationStateDrawingAB,
    /// Pan 1 finished — A & B locked, waiting for the second pan.
    SCIPitchforkCreationStateWaitingForC,
    /// Pan 2 active — pitchfork renders live as the user drags C.
    SCIPitchforkCreationStateDrawingC,
}

Undocumented

  • Idle — waiting for the first pan gesture.

    Declaration

    Objective-C

    SCIPitchforkCreationStateIdle = 0

    Swift

    case idle = 0
  • Pan 1 active — A is locked, user is dragging toward B.

    Declaration

    Objective-C

    SCIPitchforkCreationStateDrawingAB

    Swift

    case drawingAB = 1
  • Pan 1 finished — A & B locked, waiting for the second pan.

    Declaration

    Objective-C

    SCIPitchforkCreationStateWaitingForC

    Swift

    case waitingForC = 2
  • Pan 2 active — pitchfork renders live as the user drags C.

    Declaration

    Objective-C

    SCIPitchforkCreationStateDrawingC

    Swift

    case drawingC = 3