@dfsj/echarts
Version:
专业的水文曲线组件或构造函数以及通用的echart二次封装图表
12 lines (11 loc) • 432 B
TypeScript
import type { EChartsOption } from 'echarts';
import type { Ref } from 'vue';
import echarts from '../lib/echarts';
import "../plugins";
export declare function useECharts(elRef: Ref<HTMLElement>, theme?: string): {
setOptions: (options: EChartsOption, clear?: boolean) => void;
resize: () => void;
echarts: typeof echarts;
getInstance: () => echarts.ECharts | null;
container: Ref<HTMLElement, HTMLElement>;
};