UNPKG

423 BTypeScriptView Raw
1import G2View from '@antv/g2/lib/chart/view';
2import G2Chart from '@antv/g2/lib/chart/chart';
3export default class ViewHelper {
4 config: Record<string, any>;
5 view: G2View;
6 readonly isRootView = false;
7 chart: G2Chart;
8 constructor(chart: any);
9 creatViewInstance(options: any): void;
10 getView(): G2View;
11 update(newConfig: any): void;
12 destroy(): void;
13 processOptions(options: any): any;
14}