/// import echarts from 'echarts'; import 'echarts-liquidfill/dist/echarts-liquidfill'; import { ReactAddon } from './base'; export interface EChartsEventArgs { componentType: string; seriesType: string; seriesIndex: number; seriesName: string; name: string; dataIndex: number; data: Object; dataType: string; value: number | any[]; color: string; } export declare class EChartsProp extends ReactAddon { /** * 选项配置 */ option?: echarts.EChartOption; /** * 主题 */ theme?: any; /** * 数据 */ value?: any; /** * 映射数据源 */ mapDataset?: boolean; /** 轮播时间间隔,单位毫秒,默认为2000 */ interval?: number; /** 默认为false。true表示循环所有series的tooltip;false则显示指定seriesIndex的tooltip。 */ loopSeries?: boolean; /** 默认为0,指定某个系列(option中的series索引)循环显示tooltip,当loopSeries为true时,从seriesIndex系列开始执行。 */ seriesIndex?: number; /** reactEChartsRef方法 */ reactEChartsRef?: (e: any) => void; onClick?: (e: EChartsEventArgs) => void; onMouseMove?: (e: EChartsEventArgs) => void; onLegendSelected?: (e: EChartsEventArgs) => void; onRender?: (() => JSX.Element) | undefined; } export declare const EChartsControl: any;