Skip to content

chartjs-chart-error-bars v4.4.0 / ScatterWithErrorBarsController

Class: ScatterWithErrorBarsController

Extends

  • ScatterController

Constructors

new ScatterWithErrorBarsController(chart, datasetIndex)

new ScatterWithErrorBarsController(chart, datasetIndex): ScatterWithErrorBarsController

Parameters

chart: Chart<keyof ChartTypeRegistry, (null | number | [number, number] | Point | BubbleDataPoint | IErrorBarXDataPoint | IErrorBarYDataPoint | IErrorBarXYDataPoint | IErrorBarRDataPoint)[], unknown>

datasetIndex: number

Returns

ScatterWithErrorBarsController

Inherited from

ScatterController.constructor

Source

.yarn/berry/cache/chart.js-npm-4.4.2-e9b1497a6e-10c0.zip/node_modules/chart.js/dist/types/index.d.ts:244

Properties

id

static readonly id: "scatterWithErrorBars" = 'scatterWithErrorBars'

Overrides

ScatterController.id

Source

work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:117

Methods

parseObjectData()

protected parseObjectData(meta, data, start, count): Record<string, unknown>[]

Parameters

meta: ChartMeta

data: any[]

start: number

count: number

Returns

Record<string, unknown>[]

Overrides

ScatterController.parseObjectData

Source

work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:41


parsePrimitiveData()

protected parsePrimitiveData(meta, data, start, count): Record<string, unknown>[]

Parameters

meta: ChartMeta

data: any[]

start: number

count: number

Returns

Record<string, unknown>[]

Overrides

ScatterController.parsePrimitiveData

Source

work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:35


updateElementScale()

protected updateElementScale(index, properties, mode): void

Parameters

index: number

properties: Record<string, unknown>

mode: "none" | "hide" | "show" | "default" | "active" | "resize" | "reset"

Returns

void

Source

work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:76