mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-03 06:54:02 +01:00
allow mode to be a callback function (#11488)
This commit is contained in:
2
src/types/index.d.ts
vendored
2
src/types/index.d.ts
vendored
@@ -516,7 +516,7 @@ export declare class Chart<
|
||||
buildOrUpdateScales(): void;
|
||||
buildOrUpdateControllers(): void;
|
||||
reset(): void;
|
||||
update(mode?: UpdateMode): void;
|
||||
update(mode?: UpdateMode | ((ctx: { datasetIndex: number }) => UpdateMode)): void;
|
||||
render(): void;
|
||||
draw(): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user