1 | import * as Anim from './types/anim.js';
|
2 | import * as Config from './types/config.js';
|
3 | import * as Styles from './types/styles.js';
|
4 | import * as D from './types/data.js';
|
5 | import { Module } from './module/module.js';
|
6 | import { Snapshot } from './module/cchart.js';
|
7 | import { CAnimation } from './module/canimctrl.js';
|
8 | import { EventType, EventHandler, EventMap } from './events.js';
|
9 | import { PluginRegistry } from './plugins.js';
|
10 | import { Mirrored } from './tsutils.js';
|
11 | import { VizzuOptions } from './vizzu.js';
|
12 | import { AnimControl } from './animcontrol.js';
|
13 | export declare class Chart {
|
14 | private _cChart;
|
15 | private _render;
|
16 | private _module;
|
17 | private _canvas;
|
18 | private _cData;
|
19 | private _data;
|
20 | private _events;
|
21 | private _plugins;
|
22 | private _updateInterval?;
|
23 | constructor(module: Module, options: VizzuOptions, plugins: PluginRegistry);
|
24 | registerBuiltins(): void;
|
25 | start(): void;
|
26 | prepareAnimation(target: Anim.Keyframes | CAnimation, options?: Anim.ControlOptions & Anim.Options): Promise<void>;
|
27 | runAnimation(callback: (ok: boolean) => void): void;
|
28 | setAnimParams(target: Anim.Keyframes | CAnimation, options?: Anim.ControlOptions & Anim.Options): void;
|
29 | private _setKeyframe;
|
30 | destruct(): void;
|
31 | version(): string;
|
32 | get data(): Mirrored<D.Metainfo>;
|
33 | get config(): Mirrored<Config.Chart>;
|
34 | get style(): Mirrored<Styles.Chart>;
|
35 | getComputedStyle(): Mirrored<Styles.Chart>;
|
36 | on<T extends EventType>(eventName: T, handler: EventHandler<EventMap[T]>): void;
|
37 | off<T extends EventType>(eventName: T, handler: EventHandler<EventMap[T]>): void;
|
38 | store(): Snapshot;
|
39 | getAnimControl(): AnimControl;
|
40 | private _getCAnimControl;
|
41 | }
|