deepdark-ui
Version:
面向开发者的暗黑风格的数字孪生组件库;基于vue3的开发
26 lines (25 loc) • 733 B
TypeScript
import { InjectionKey } from 'vue';
export interface DkLineEChart {
initViewer: (chartDom: HTMLElement) => void;
}
/**
* 可以在数据准备阶段new,然后在mounted阶段
*/
export declare class LineEChart implements DkLineEChart {
mold: string;
options: any;
categoryData: string[];
valDatas: object[];
series: object[];
globOptions: any;
serialsOption: {
showBackground: boolean;
backgroundStyle: {
color: string;
};
};
constructor(mold?: string, categoryData?: string[], valDatas?: object[], dkOptions?: any);
initViewer(chartDom: HTMLElement): void;
private initOptions;
}
export declare const lineEChartKey: InjectionKey<DkLineEChart>;