import { ChartProps } from 'amis/lib/renderers/Chart'; import { IScopedContext } from 'amis-core'; import { PlainObject } from '../common/type'; import ChartReportBase from './common/ChartReportBase'; export default class ChartPercent extends ChartReportBase { config: any; chartUpdateDebounce: any; constructor(props: ChartProps, context: IScopedContext); componentDidMount(): Promise; componentDidUpdate(preProps: any): void; componentWillUnmount(): void; getChartConfig(newChartData?: any, chartProps?: any): { series: { data: any[]; min: number; max: number; title: any; detail: PlainObject; type: string; startAngle: any; endAngle: any; pointer: { show: boolean; itemStyle: { color: string | undefined; }; }; progress: { show: boolean; width: number; itemStyle: { color: string; }; }; axisLine: { show: boolean; lineStyle: { color: (string | number)[][]; width: number | undefined; }; }; splitLine: { show: boolean; length: string | number; distance: number; lineStyle: { color: string; width: string | number; }; }; axisTick: { show: boolean; splitNumber: number; length: string | number; distance: number | undefined; lineStyle: { color: string; width: number | undefined; }; }; axisLabel: any; }[]; title: { show: any; text: any; left: any; textStyle: any; backgroundColor: any; link: any; }; }; updateChartData(newChartData?: any, isReload?: boolean, chartProps?: any): void; updateChartConfig(chartProps?: any): void; }