Skip to content

chartjs-chart-error-bars / ScatterWithErrorBarsController

Class: ScatterWithErrorBarsController ​

Defined in: work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:27

Extends ​

  • ScatterController

Constructors ​

Constructor ​

new ScatterWithErrorBarsController(chart, datasetIndex): ScatterWithErrorBarsController

Defined in: .yarn/berry/cache/chart.js-npm-4.5.0-e95c375db8-10c0.zip/node_modules/chart.js/dist/types/index.d.ts:244

Parameters ​

chart ​

Chart

datasetIndex ​

number

Returns ​

ScatterWithErrorBarsController

Inherited from ​

ScatterController.constructor

Properties ​

id ​

readonly static id: "scatterWithErrorBars" = 'scatterWithErrorBars'

Defined in: work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:116

Overrides ​

ScatterController.id

Methods ​

parseObjectData() ​

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

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

Parameters ​

meta ​

ChartMeta

data ​

any[]

start ​

number

count ​

number

Returns ​

Record<string, unknown>[]

Overrides ​

ScatterController.parseObjectData


parsePrimitiveData() ​

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

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

Parameters ​

meta ​

ChartMeta

data ​

any[]

start ​

number

count ​

number

Returns ​

Record<string, unknown>[]

Overrides ​

ScatterController.parsePrimitiveData


updateElementScale() ​

protected updateElementScale(index, properties, mode): void

Defined in: work/chartjs-chart-error-bars/chartjs-chart-error-bars/src/controllers/ScatterWithErrorBarsController.ts:75

Parameters ​

index ​

number

properties ​

Record<string, unknown>

mode ​

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

Returns ​

void