Skip to main content
Version: 4.1.0

LinePlotComponentProps

Index

Constructors

constructor

  • new LinePlotComponentProps(): LinePlotComponentProps
  • Returns LinePlotComponentProps

Properties

optionalborderWidth

borderWidth?: number

optionalcomments

comments?: string[]

optionaldarkMode

darkMode?: boolean

optionaldata

data?: Point2D[]

optionalfullResolutionData

fullResolutionData?: Point2D[]

optionalgraphClicked

graphClicked?: (x: number) => void

Type declaration

    • (x: number): void
    • Parameters

      • x: number

      Returns void

optionalgraphCursorMoved

graphCursorMoved?: (x: number) => void

Type declaration

    • (x: number): void
    • Parameters

      • x: number

      Returns void

optionalgraphRightClicked

graphRightClicked?: (x: number) => void

Type declaration

    • (x: number): void
    • Parameters

      • x: number

      Returns void

optionalgraphZoomReset

graphZoomReset?: () => void

Type declaration

    • (): void
    • Returns void

optionalgraphZoomedX

graphZoomedX?: (xMin: number, xMax: number) => void

Type declaration

    • (xMin: number, xMax: number): void
    • Parameters

      • xMin: number
      • xMax: number

      Returns void

optionalgraphZoomedXY

graphZoomedXY?: (xMin: number, xMax: number, yMin: number, yMax: number) => void

Type declaration

    • (xMin: number, xMax: number, yMin: number, yMax: number): void
    • Parameters

      • xMin: number
      • xMax: number
      • yMin: number
      • yMax: number

      Returns void

optionalgraphZoomedY

graphZoomedY?: (yMin: number, yMax: number) => void

Type declaration

    • (yMin: number, yMax: number): void
    • Parameters

      • yMin: number
      • yMax: number

      Returns void

optionalheight

height?: number

optionalimageName

imageName?: string

optionalinsideBoxes

insideBoxes?: LinePlotInsideBoxMarker[]

optionalinsideTexts

insideTexts?: LinePlotInsideTextMarker[]

optionalisGroupSubPlot

isGroupSubPlot?: boolean

optionalisSelectingInsideBox

isSelectingInsideBox?: boolean

optionallineColor

lineColor?: string

optionallogY

logY?: boolean

optionalmarkers

markers?: LineMarker[]

optionalmouseEntered

mouseEntered?: (value: boolean) => void

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

      Returns void

optionalmultiColorMultiLinesColors

multiColorMultiLinesColors?: Map<string, string[]>

optionalmultiColorSingleLineColors

multiColorSingleLineColors?: string[]

optionalmultiPlotPropsMap

multiPlotPropsMap?: Map<string, MultiPlotProps>

optionalopacity

opacity?: number

optionalorder

order?: number

optionalplotName

plotName?: string

optionalplotType

plotType?: PlotType

optionalpointRadius

pointRadius?: number

optionalscrollZoom

scrollZoom?: boolean

optionalselectingMode

selectingMode?: LinePlotSelectingMode

optionalsetSelectedInsideBox

setSelectedInsideBox?: (minX: number, maxX: number, minY: number, maxY: number) => void

Type declaration

    • (minX: number, maxX: number, minY: number, maxY: number): void
    • Parameters

      • minX: number
      • maxX: number
      • minY: number
      • maxY: number

      Returns void

optionalsetSelectedLine

setSelectedLine?: (startX: number, endX: number, startY: number, endY: number) => void

Type declaration

    • (startX: number, endX: number, startY: number, endY: number): void
    • Parameters

      • startX: number
      • endX: number
      • startY: number
      • endY: number

      Returns void

optionalsetSelectedRange

setSelectedRange?: (min: number, max: number) => void

Type declaration

    • (min: number, max: number): void
    • Parameters

      • min: number
      • max: number

      Returns void

optionalshowLegend

showLegend?: boolean

optionalshowTopAxis

showTopAxis?: boolean

optionalshowXAxisLabel

showXAxisLabel?: boolean

optionalshowXAxisTicks

showXAxisTicks?: boolean

optionalshowYAxisLabel

showYAxisLabel?: boolean

optionalshowYAxisTicks

showYAxisTicks?: boolean

optionaltickTypeX

tickTypeX?: TickType

optionaltickTypeY

tickTypeY?: TickType

optionaltopAxisTickFormatter

topAxisTickFormatter?: (value: number, index: number, values: Tick[]) => string | number

Type declaration

    • (value: number, index: number, values: Tick[]): string | number
    • Parameters

      • value: number
      • index: number
      • values: Tick[]

      Returns string | number

optionalwidth

width?: number

optionalxLabel

xLabel?: string

optionalxMax

xMax?: number

optionalxMin

xMin?: number

optionalxTickMarkLength

xTickMarkLength?: number

optionalyLabel

yLabel?: string

optionalyMax

yMax?: number

optionalyMin

yMin?: number

optionalyZeroLineColor

yZeroLineColor?: string

optionalzIndex

zIndex?: boolean

optionalzeroLineWidth

zeroLineWidth?: number