MCPcopy
hub / github.com/chartjs/Chart.js / getController

Method getController

src/types/index.d.ts:1156–1156  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1154 addScales(...args: ChartComponentLike[]): void;
1155
1156 getController(id: string): DatasetController | undefined;
1157 getElement(id: string): Element | undefined;
1158 getPlugin(id: string): Plugin | undefined;
1159 getScale(id: string): Scale | undefined;

Callers 2

Implementers 1

Registrysrc/core/core.registry.js

Calls

no outgoing calls

Tested by

no test coverage detected