Skip to content

chartjs-chart-graph v4.3.0 / TreeChart

Class: TreeChart<DATA, LABEL>

Extends

  • Chart<"tree", DATA, LABEL>

Type parameters

DATA extends unknown[] = IGraphDataPoint[]

LABEL = string

Constructors

new TreeChart(item, config)

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

Parameters

item: ChartItem

config: Omit<ChartConfiguration<"tree", DATA, LABEL>, "type">

Returns

TreeChart<DATA, LABEL>

Overrides

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

Source

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/TreeController.ts:53

Properties

id

static id: string = TreeController.id

Source

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/TreeController.ts:51