statistic-active.d.ts 378 B

12345678910111213
  1. import { Action } from '@antv/g2';
  2. import { PieOptions } from '../../types';
  3. /**
  4. * Pie 中心文本事件的 Action
  5. */
  6. export declare class StatisticAction extends Action {
  7. private initialAnnotation;
  8. private getAnnotations;
  9. private getInitialAnnotation;
  10. init(): void;
  11. change(arg?: Pick<PieOptions, 'annotations' | 'statistic'>): void;
  12. reset(): void;
  13. }