Skip to content

chartjs-chart-graph / GraphChart

Class: GraphChart<DATA, LABEL> ​

Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:677

Extends ​

  • Chart<"graph", DATA, LABEL>

Type Parameters ​

DATA ​

DATA extends unknown[] = IGraphDataPoint[]

LABEL ​

LABEL = string

Constructors ​

Constructor ​

new GraphChart<DATA, LABEL>(item, config): GraphChart<DATA, LABEL>

Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:684

Parameters ​

item ​

ChartItem

config ​

Omit<ChartConfiguration<"graph", DATA, LABEL>, "type">

Returns ​

GraphChart<DATA, LABEL>

Overrides ​

Chart< 'graph', DATA, LABEL >.constructor

Properties ​

id ​

static id: string = GraphController.id

Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:682