Skip to content

chartjs-chart-graph / DendrogramController

Class: DendrogramController

Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:36

Extends

Extended by

Constructors

Constructor

new DendrogramController(chart, datasetIndex): DendrogramController

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

DendrogramController

Inherited from

GraphController.constructor

Properties

getContext()

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

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

Parameters

index

number

active

boolean

mode

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

Returns

unknown

Inherited from

GraphController.getContext


id

readonly static id: string = 'dendrogram'

Defined in: work/chartjs-chart-graph/chartjs-chart-graph/src/controllers/DendrogramController.ts:143

Overrides

GraphController.id

Methods

_resyncElements()

protected _resyncElements(): void

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

Returns

void

Inherited from

GraphController._resyncElements


doLayout()

doLayout(root): void

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

Parameters

root

HierarchyNode<{ angle?: number; x: number; y: number; }>

Returns

void


getTreeChildren()

getTreeChildren(node): ITreeNode[]

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

Parameters

node
index?

number

Returns

ITreeNode[]

Inherited from

GraphController.getTreeChildren


getTreeRoot()

getTreeRoot(): ITreeNode

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

Returns

ITreeNode

Inherited from

GraphController.getTreeRoot


getTreeRootIndex()

getTreeRootIndex(): number

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

Returns

number

Inherited from

GraphController.getTreeRootIndex


reLayout()

reLayout(newOptions): void

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

Parameters

newOptions

Partial<ITreeOptions> = {}

Returns

void

Overrides

GraphController.reLayout


resetLayout()

resetLayout(): void

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

Returns

void

Inherited from

GraphController.resetLayout


resyncLayout()

resyncLayout(): void

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

Returns

void

Overrides

GraphController.resyncLayout


stopLayout()

stopLayout(): void

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

Returns

void

Inherited from

GraphController.stopLayout