UNPKG

deepdark-ui

Version:

面向开发者的暗黑风格的数字孪生组件库;基于vue3的开发

50 lines (49 loc) 1.46 kB
import { InjectionKey } from 'vue'; /** * 可以在数据准备阶段new,然后在mounted阶段 */ export interface DkGaugeEChart { initViewer: (chartDom: HTMLElement) => void; } export declare class GaugeEChart implements DkGaugeEChart { mold: string; options: any; gaugeData: object[]; series: object[]; globOptions: { radius: string; center: string[]; booTooltip: boolean; unit: string; startAngle: number; endAngle: number; pointer_show: boolean; pointer_icon: string; pointer_length: string; pointer_width: number; pointer_offsetCenter: (string | number)[]; progress_show: boolean; progress_overlap: boolean; progress_roundCap: boolean; progress_clip: boolean; axisLine_width: number; splitLine_show: boolean; splitLine_distance: number; splitLine_length: number; axisTick_show: boolean; axisTick_distance: number; axisTick_length: number; axisLabel_show: boolean; axisLabel_distance: number; }; serialsOption: { showBackground: boolean; backgroundStyle: { color: string; }; }; constructor(mold?: string, gaugeData?: any[], dkOptions?: {}); initViewer(chartDom: HTMLElement): void; private initOptions; } export declare const gaugeEChartKey: InjectionKey<DkGaugeEChart>;