@antv/g2plot
Version:
An interactive and responsive charting library
14 lines (13 loc) • 378 B
TypeScript
import { Action } from '@antv/g2';
import { PieOptions } from '../../types';
/**
* Pie 中心文本事件的 Action
*/
export declare class StatisticAction extends Action {
private initialAnnotation;
private getAnnotations;
private getInitialAnnotation;
init(): void;
change(arg?: Pick<PieOptions, 'annotations' | 'statistic'>): void;
reset(): void;
}