@dfsj/echarts
Version:
专业的水文曲线组件或构造函数以及通用的echart二次封装图表
17 lines (16 loc) • 617 B
TypeScript
import type { Ref } from 'vue';
export declare function useCapacity(chartRef: Ref<HTMLElement>): {
setOptions: (options: import("echarts").EChartsOption, clear?: boolean) => void;
echarts: typeof import("echarts/core");
getInstance: () => import("echarts/core").ECharts | null;
container: Ref<HTMLElement, HTMLElement>;
assemble: (value: any, options: any) => any;
transform: (data: any) => void;
createOptions: (data: any) => {
yAxis: {
min: (v: any) => number;
max: (v: any) => number;
}[];
};
toggleTable: (visible?: boolean) => void;
};