UNPKG

619 BTypeScriptView Raw
1import 'react';
2import { PieOptions as Options } from '@antv/g2plot/lib/plots/pie';
3import { BasePlotOptions } from '../createPlot';
4import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
5interface DonutOptions extends Options, BasePlotOptions {
6 /** 图例 */
7 legend?: LengendAPIOptions;
8 /** 图表提示框 */
9 tooltip?: TooltipAPIOptions;
10 /** 数据标注label */
11 label?: LabelAPIOptions;
12}
13export { DonutOptions };
14declare const _default: import("react").ForwardRefExoticComponent<DonutOptions & import("react").RefAttributes<any>>;
15export default _default;