Skip to content

chartjs-chart-graph v4.3.0 / ForceDirectedGraphChart

Class: ForceDirectedGraphChart<DATA, LABEL>

Extends

  • Chart<"forceDirectedGraph", DATA, LABEL>

Type parameters

DATA extends unknown[] = IGraphDataPoint[]

LABEL = string

Constructors

new ForceDirectedGraphChart(item, config)

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

Parameters

item: ChartItem

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

Returns

ForceDirectedGraphChart<DATA, LABEL>

Overrides

`Chart< 'forceDirectedGraph', DATA, LABEL

.constructor`

Source

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:434

Properties

id

static id: string = ForceDirectedGraphController.id

Source

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/ForceDirectedGraphController.ts:432