/** * @file generate for component: Chart * @link file://./API.md * @link file://./README.md */ import san from 'san'; import {ChartProps} from './interface'; /** * Chart 组件 * @doc [官网](baidu.github.io/cosui/components/cosmic-dqa/chart) */ export default class Chart extends san.Component { static props: { /** 图表类型 */ type: ChartProps['type']; /** 外部传入的配置项,完全对齐 EChartsOption */ option: ChartProps['option']; /** 图表是否异步加载,默认为 false,默认为同步加载图表数据 */ async?: ChartProps['async']; }; static events: { "chart-rendered": undefined; }; static messages: { }; getEchartsInstance: () => EChartsType; updateChart: () => void; registerMap: (mapName: string, geoJson: MapInput | GeoJSONSourceInput, specialAreas?: GeoSpecialAreas) => void; }