UNPKG

rp-data-chart

Version:

Rabbitpre data-chart components lib

37 lines (36 loc) 991 B
/** * 传播途径 饼状图表类 * @author lifu * @since 2019-5-10 */ import { Component } from 'react'; import { ChartProps } from "../../index"; import './share-path.less'; interface IState { data: Record<string, any> | null; ringGroup: Array<{ appsrc: string; color: string; text: string; count: number; }>; } export declare class SharePathPlatformChart extends Component<ChartProps, IState> { state: IState; componentDidMount(): void; init(): Promise<void>; renderRing(): JSX.Element[] | null; render(): JSX.Element; } declare const _default: { new (opt: import("../..").ChartOptions): { appId: string; pfId: string; container: HTMLElement | null; isLoading: boolean; init(): void; refresh(callback?: (() => void) | undefined): void; destroy(callback?: (() => void) | undefined): void; }; }; export default _default;