@antv/g2plot
Version: 
An interactive and responsive charting library
29 lines (28 loc) • 735 B
TypeScript
import { Options, StyleAttr, ColorAttr, Statistic } from '../../types';
/** mini 图类型定义需要 omit 很多的 G2 Options 配置 */
export interface RingProgressOptions extends Omit<Options, 'data' | 'tooltip' | 'legend' | 'label' | 'color'> {
    /**
     * @title 进度百分比
     */
    readonly percent: number;
    /**
     * @title 外环的半径
     */
    readonly radius?: number;
    /**
     * @title 内环的半径
     */
    readonly innerRadius?: number;
    /**
     * @title 进度条颜色
     */
    readonly color?: ColorAttr;
    /**
     * @title 进度条样式
     */
    readonly progressStyle?: StyleAttr;
    /**
     * @title 统计内容组件
     */
    readonly statistic?: Statistic;
}