Interface StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

Static XY cursor interface

Type Parameters

Hierarchy

  • StaticCursor<PointMarkerType, ResultTableBackgroundType>
  • CursorXY<PointMarkerType, ResultTableBackgroundType>
    • StaticCursorXY

Properties

getGridStrokeXCut: (() => boolean)

Type declaration

    • (): boolean
    • Get is GridStrokeX cut at cursor location.

      Returns

      Boolean flag

      Returns boolean

getGridStrokeXStyle: (() => LineStyle)

Type declaration

getGridStrokeYCut: (() => boolean)

Type declaration

    • (): boolean
    • Get is GridStrokeY cut at cursor location.

      Returns

      Boolean flag

      Returns boolean

getGridStrokeYStyle: (() => LineStyle)

Type declaration

getPointMarker: (() => PointMarkerType)

Type declaration

    • (): PointMarkerType
    • Get PointMarker object. PointMarker is a visual that is displayed at the Cursors position

      Returns

      PointMarker object

      Returns PointMarkerType

getPosition: (() => Point)

Type declaration

    • (): Point
    • Get current position of Cursor on its scale

      Returns

      Position on Cursors scale

      Returns Point

getResultTable: (() => ResultTable<ResultTableBackgroundType>)

Type declaration

    • (): ResultTable<ResultTableBackgroundType>
    • Get ResultTable object. ResultTable is a visual that displays currently pointed data next to its location

      Returns

      ResultTable object

      Returns ResultTable<ResultTableBackgroundType>

getTickMarkerX: (() => TickMarker)

Type declaration

getTickMarkerY: (() => TickMarker)

Type declaration

getVisible: (() => boolean)

Type declaration

    • (): boolean
    • Get element visibility.

      Returns

      true when element is set to be visible and false otherwise.

      Returns boolean

pointAt: ((point: CursorPoint<Series2D<any>>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

setGridStrokeXCut: ((cut: boolean) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (cut: boolean): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Set is GridStrokeX cut at cursor location.

      Returns

      Object itself for fluent interface

      Parameters

      • cut: boolean

        Boolean flag

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

setGridStrokeXStyle: ((value: LineStyle | ImmutableMutator<LineStyle, LineStyle>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

setGridStrokeYCut: ((cut: boolean) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (cut: boolean): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Set is GridStrokeY cut at cursor location.

      Returns

      Object itself for fluent interface

      Parameters

      • cut: boolean

        Boolean flag

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

setGridStrokeYStyle: ((value: LineStyle | ImmutableMutator<LineStyle, LineStyle>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

setPointMarker: ((mutator: Mutator<PointMarkerType>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (mutator: Mutator<PointMarkerType>): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Mutator function for PointMarker. PointMarker is a visual that is displayed at the Cursors position

      Returns

      Object itself for fluent interface

      Parameters

      • mutator: Mutator<PointMarkerType>

        Mutator function for PointMarker

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

setPosition: ((position: Point) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (position: Point): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Set the position of the Cursor, moving it without modifying displayed data.

      Parameters

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

setResultTable: ((mutator: Mutator<ResultTable<ResultTableBackgroundType>>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (mutator: Mutator<ResultTable<ResultTableBackgroundType>>): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Mutator function for ResultTable. ResultTable is a visual that displays currently pointed data next to its location

      Returns

      Object itself for fluent interface

      Parameters

      • mutator: Mutator<ResultTable<ResultTableBackgroundType>>

        Mutator function for ResultTable

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

setTickMarkerX: ((mutator: Mutator<TickMarker>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

setTickMarkerY: ((mutator: Mutator<TickMarker>) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

setVisible: ((state: boolean) => StaticCursorXY<PointMarkerType, ResultTableBackgroundType>)

Type declaration

    • (state: boolean): StaticCursorXY<PointMarkerType, ResultTableBackgroundType>
    • Set element visibility.

      Parameters

      • state: boolean

        true when element should be visible and false when element should be hidden.

      Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

Methods

  • Permanently destroy the component.

    Returns

    Object itself for fluent interface.

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

  • Get is AutoFitStrategy enabled. Customizable logic which attempts to fit ResultTable to view.

    Returns

    Boolean flag whether auto-fit is enabled

    Returns boolean

  • Get tick marker X visible or not.

    Returns

    Boolean.

    Returns boolean

  • Get tick marker Y visible or not.

    Returns

    Boolean.

    Returns boolean

  • Set AutoFitStrategy of Cursor. Customizable logic which attempts to fit ResultTable to view.

    See AutoFitStrategies for available options.

    Returns

    Object itself for fluent interface

    Parameters

    • Optional autoFitStrategy: AutoFitStrategyFactory<ResultTableBackgroundType>

      AutoFitStrategy or undefined to disable auto-fitting

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

  • Set point marker visible or not.

    Returns

    Object itself.

    Parameters

    • visible: boolean

      Point marker visible?

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

  • Set result table visible or not.

    Returns

    Object itself.

    Parameters

    • visible: boolean

      Result table visible?

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

  • Set tick marker X visible or not.

    Returns

    Object itself.

    Parameters

    • visible: boolean

      Tick marker X visible?

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>

  • Set tick marker Y visible or not.

    Returns

    Object itself.

    Parameters

    • visible: boolean

      Tick marker Y visible?

    Returns StaticCursorXY<PointMarkerType, ResultTableBackgroundType>