Skip to content

chartjs-chart-graph v4.3.4 / DendogramController

Class: DendogramController

Extends

Constructors

new DendogramController()

new DendogramController(chart, datasetIndex): DendogramController

Parameters

chart: Chart<keyof ChartTypeRegistry, (null | number | [number, number] | Point | BubbleDataPoint | IGraphDataPoint | IGraphDataPoint & Record<string, unknown>)[], unknown>

datasetIndex: number

Returns

DendogramController

Inherited from

DendrogramController.constructor

Defined in

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

Properties

getContext()

getContext: (index, active, mode) => unknown

Parameters

index: number

active: boolean

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

Returns

unknown

Inherited from

DendrogramController.getContext

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:210


id

readonly static id: string = 'dendogram'

Overrides

DendrogramController.id

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:223

Methods

_resyncElements()

protected _resyncElements(): void

Returns

void

Inherited from

DendrogramController._resyncElements

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:396


doLayout()

doLayout(root): void

Parameters

root: HierarchyNode<object>

Returns

void

Inherited from

DendrogramController.doLayout

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:97


getTreeChildren()

getTreeChildren(node): ITreeNode[]

Parameters

node

node.index?: number

Returns

ITreeNode[]

Inherited from

DendrogramController.getTreeChildren

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:436


getTreeRoot()

getTreeRoot(): ITreeNode

Returns

ITreeNode

Inherited from

DendrogramController.getTreeRoot

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:429


getTreeRootIndex()

getTreeRootIndex(): number

Returns

number

Inherited from

DendrogramController.getTreeRootIndex

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:413


reLayout()

reLayout(newOptions): void

Parameters

newOptions: Partial<ITreeOptions> = {}

Returns

void

Inherited from

DendrogramController.reLayout

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:84


resetLayout()

resetLayout(): void

Returns

void

Inherited from

DendrogramController.resetLayout

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:560


resyncLayout()

resyncLayout(): void

Returns

void

Inherited from

DendrogramController.resyncLayout

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:72


stopLayout()

stopLayout(): void

Returns

void

Inherited from

DendrogramController.stopLayout

Defined in

work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/GraphController.ts:564