import { type ChartJs } from "https://deno.land/x/fresh_charts@0.2.0/deps.ts";
const { Registry } = ChartJs;
Please use the module's default export which provides a singleton instance Note: class is exported for typedoc
Methods
add(...args: ChartComponentLike[]): void
remove(...args: ChartComponentLike[]): void
addControllers(...args: ChartComponentLike[]): void
addElements(...args: ChartComponentLike[]): void
addPlugins(...args: ChartComponentLike[]): void
addScales(...args: ChartComponentLike[]): void
getElement(id: string): Element | undefined
getPlugin(id: string): Plugin | undefined