UNPKG

@dfsj/echarts

Version:

专业的水文曲线组件或构造函数以及通用的echart二次封装图表

30 lines (29 loc) 992 B
import { EChartsType } from 'echarts/core'; import { Ref } from 'vue'; export declare function useComplexHydrology(chartRef: Ref<HTMLElement>): { setOptions: (options: import("echarts").EChartsOption, clear?: boolean) => void; echarts: typeof import("echarts/core"); getInstance: () => EChartsType | null; container: Ref<HTMLElement, HTMLElement>; createOptions: (data: any) => { yAxis: ({ layout: number; name: string; min: number; max: (v: any) => number; } | { layout: number; name: string; min: (v: any) => number; max: (v: any) => number; } | { layout: string; name: string; min?: undefined; max?: undefined; })[]; }; assemble: (value: any, options: any, chart?: EChartsType) => any; toggleTable: (visible?: boolean) => void; toggleStatistic: (visible?: boolean) => void; };