Skip to main content
Version: 4.1.0

LinePlotComponent

Hierarchy

  • Component<LinePlotComponentProps>
    • LinePlotComponent

Index

Constructors

constructor

  • new LinePlotComponent(props: LinePlotComponentProps): LinePlotComponent
  • Parameters

    • props: LinePlotComponentProps

    Returns LinePlotComponent

Properties

chartArea

chartArea: ChartArea

height

height: number = 0

hoveredMarker

hoveredMarker: LineMarker

interactionMode

interactionMode: InteractionMode = InteractionMode.NONE

isMarkerDragging

isMarkerDragging: boolean = false

isMouseEntered

isMouseEntered: boolean = false

panStart

panStart: number = 0

selectionBoxEnd

selectionBoxEnd: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

selectionBoxStart

selectionBoxStart: { x: number; y: number } = ...

Type declaration

  • x: number
  • y: number

width

width: number = 0

Accessors

cursorShape

  • get cursorShape(): string
  • Returns string

isPanning

  • get isPanning(): boolean
  • Returns boolean

isSelecting

  • get isSelecting(): boolean
  • Returns boolean

zoomMode

  • get zoomMode(): ZoomMode
  • Returns ZoomMode

Methods

dragBoundsFuncHorizontal

  • dragBoundsFuncHorizontal(pos: Point2D, marker: LineMarker): { x: number; y: number }
  • Parameters

    • pos: Point2D
    • marker: LineMarker

    Returns { x: number; y: number }

    • x: number
    • y: number

dragBoundsFuncVertical

  • dragBoundsFuncVertical(pos: Point2D, marker: LineMarker): { x: number; y: number }
  • Parameters

    • pos: Point2D
    • marker: LineMarker

    Returns { x: number; y: number }

    • x: number
    • y: number

endInteractions

  • endInteractions(): void
  • Returns void

exportData

  • exportData(): void
  • Returns void

exportImage

  • exportImage(): void
  • Returns void

hideMouseEnterWidget

  • hideMouseEnterWidget(): void
  • Returns void

onKeyDown

  • onKeyDown(ev: KeyboardEvent<Element>): void
  • Parameters

    • ev: KeyboardEvent<Element>

    Returns void

onMarkerDragEnd

  • onMarkerDragEnd(): void
  • Returns void

onMarkerDragStart

  • onMarkerDragStart(): void
  • Returns void

onMarkerDragged

  • onMarkerDragged(ev: any, marker: LineMarker): void
  • Parameters

    • ev: any
    • marker: LineMarker

    Returns void

onMouseEnter

  • onMouseEnter(): void
  • Returns void

onMouseLeave

  • onMouseLeave(): void
  • Returns void

onMouseMove

  • onMouseMove(): void
  • Returns void

onPlotRefUpdated

  • onPlotRefUpdated(plotRef: any): void
  • Parameters

    • plotRef: any

    Returns void

onStageClick

  • onStageClick(ev: any): void
  • Parameters

    • ev: any

    Returns void

onStageDoubleClick

  • onStageDoubleClick(): void
  • Returns void

onStageMouseDown

  • onStageMouseDown(ev: any): void
  • Parameters

    • ev: any

    Returns void

onStageMouseMove

  • onStageMouseMove(ev: any): void
  • Parameters

    • ev: any

    Returns void

onStageMouseUp

  • onStageMouseUp(ev: any): void
  • Parameters

    • ev: any

    Returns void

onStageRightClick

  • onStageRightClick(ev: any): void
  • Parameters

    • ev: any

    Returns void

onStageWheel

  • onStageWheel(ev: any): void
  • Parameters

    • ev: any

    Returns void

render

  • render(): Element
  • Returns Element

resize

  • resize(w: any, h: any): void
  • Parameters

    • w: any
    • h: any

    Returns void

setHoveredMarker

  • setHoveredMarker(marker: LineMarker): void
  • Parameters

    • marker: LineMarker

    Returns void

showMouseEnterWidget

  • showMouseEnterWidget(): void
  • Returns void

startPanning

  • startPanning(x: number): void
  • Parameters

    • x: number

    Returns void

startSelection

  • startSelection(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

updateChart

  • updateChart(chartArea: ChartArea): void
  • Parameters

    • chartArea: ChartArea

    Returns void

updatePan

  • updatePan(x: number): void
  • Parameters

    • x: number

    Returns void

updateSelection

  • updateSelection(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void