Skip to main content
Version: 4.1.0

HistogramComponent

Hierarchy

  • Component<WidgetProps>
    • HistogramComponent

Index

Constructors

constructor

  • new HistogramComponent(props: WidgetProps): HistogramComponent
  • Parameters

    • props: WidgetProps

    Returns HistogramComponent

Properties

height

height: number

onGraphCursorMoved

onGraphCursorMoved: DebouncedFunc<(x: any) => void> = ...

width

width: number

Accessors

exportHeaders

  • get exportHeaders(): string[]
  • Returns string[]

histogramData

  • get histogramData(): IHistogram
  • Returns IHistogram

isTargetData

  • get isTargetData(): boolean
  • Returns boolean

plotData

  • get plotData(): { values: Point2D[]; xMax: number; xMin: number; yMax: number; yMin: number }
  • Returns { values: Point2D[]; xMax: number; xMin: number; yMax: number; yMin: number }

    • values: Point2D[]
    • xMax: number
    • xMin: number
    • yMax: number
    • yMin: number

widgetStore

  • get widgetStore(): HistogramWidgetStore
  • Returns HistogramWidgetStore

publicstaticWIDGET_CONFIG

  • get WIDGET_CONFIG(): DefaultWidgetConfig
  • Returns DefaultWidgetConfig

Methods

componentDidUpdate

  • componentDidUpdate(): void
  • Returns void

onResize

  • onResize(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

render

  • render(): Element
  • Returns Element