import * as React from 'react'; interface ChartProps { /**图表类型,默认支持的图表类型请参照下方说明 */ type?: string; /**X轴 */ xAxis?: object; /**Y轴 */ yAxis?: object; /**Y1轴,需要两个Y轴时使用,比如折线柱状图 */ y1Axis?: object; /**视觉映射,需要将数据映射到视觉元素时使用,比如气泡图 */ visualMap?: object; /**区域缩放 */ dataZoom?: object; /**系列 */ series?: Array; /**数据排序,数据将按照排序后的顺序展示,通常用来确定X轴的排序 */ sort?: 'desc'; } interface ChartState {} declare class Chart extends React.Component { state: ChartState; componentDidMount(): void; componentDidUpdate(prevProps: ChartProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default Chart;