UNPKG

@dfsj/echarts

Version:

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

238 lines (237 loc) 6.9 kB
declare function renderAltitudeMark(params: any, api: any, current: any, scale?: number): { type: string; children: ({ type: string; shape: { pathData: string; x: number; y: number; width: number; height: number; }; style: { fill: any; shadowBlur: number; shadowColor: string; text?: undefined; x?: undefined; y?: undefined; fontSize?: undefined; textFill?: undefined; textBorderWidth?: undefined; textBorderRadius?: undefined; textBackgroundColor?: undefined; textLineWidth?: undefined; textVerticalAlign?: undefined; textAlign?: undefined; textPadding?: undefined; }; styleEmphasis: { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; fontSize?: undefined; textBoxShadowColor?: undefined; textBoxShadowBlur?: undefined; textBoxShadowOffsetX?: undefined; textBoxShadowOffsetY?: undefined; textBackgroundColor?: undefined; textFill?: undefined; }; } | { type: string; style: { text: string; x: any; y: number; fontSize: number; textFill: string; textBorderWidth: number; textBorderRadius: number; textBackgroundColor: any; textLineWidth: number; textVerticalAlign: string; textAlign: string; textPadding: number[]; fill?: undefined; shadowBlur?: undefined; shadowColor?: undefined; }; styleEmphasis: { fontSize: number; textBoxShadowColor: string; textBoxShadowBlur: number; textBoxShadowOffsetX: number; textBoxShadowOffsetY: number; textBackgroundColor: string; textFill: any; shadowBlur?: undefined; shadowColor?: undefined; shadowOffsetX?: undefined; shadowOffsetY?: undefined; }; shape?: undefined; })[]; } | { type: string; children: { type: string; shape: { pathData: string; x: any; y: any; width: number; height: number; }; style: { fill: any; shadowBlur: number; shadowColor: string; }; styleEmphasis: { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; }; }[]; } | { type: string; children: ({ z2: number; type: string; shape: { cx: any; cy: any; r: number; points?: undefined; }; style: { fill: string; stroke: any; lineWidth?: undefined; shadowBlur?: undefined; shadowColor?: undefined; text?: undefined; x?: undefined; y?: undefined; fontSize?: undefined; textFill?: undefined; textBorderWidth?: undefined; textBorderRadius?: undefined; textBackgroundColor?: undefined; textLineWidth?: undefined; textAlign?: undefined; textPadding?: undefined; }; styleEmphasis?: undefined; } | { z2: number; type: string; shape: { points: any[]; cx?: undefined; cy?: undefined; r?: undefined; }; style: { fill: any; lineWidth: number; stroke: any; shadowBlur: number; shadowColor: string; text?: undefined; x?: undefined; y?: undefined; fontSize?: undefined; textFill?: undefined; textBorderWidth?: undefined; textBorderRadius?: undefined; textBackgroundColor?: undefined; textLineWidth?: undefined; textAlign?: undefined; textPadding?: undefined; }; styleEmphasis: { shadowBlur: number; shadowColor: string; shadowOffsetX: number; shadowOffsetY: number; textBoxShadowColor?: undefined; textBoxShadowBlur?: undefined; textBoxShadowOffsetX?: undefined; textBoxShadowOffsetY?: undefined; textBackgroundColor?: undefined; textFill?: undefined; }; } | { type: string; style: { text: string; x: any; y: number; fontSize: number; textFill: string; textBorderWidth: number; textBorderRadius: number; textBackgroundColor: any; textLineWidth: number; textAlign: string; textPadding: number[]; fill?: undefined; stroke?: undefined; lineWidth?: undefined; shadowBlur?: undefined; shadowColor?: undefined; }; styleEmphasis: { textBoxShadowColor: string; textBoxShadowBlur: number; textBoxShadowOffsetX: number; textBoxShadowOffsetY: number; textBackgroundColor: string; textFill: any; shadowBlur?: undefined; shadowColor?: undefined; shadowOffsetX?: undefined; shadowOffsetY?: undefined; }; z2?: undefined; shape?: undefined; })[]; }; declare function toMarks(value: any, optioned: any, mark: any): any[]; declare function toIndices(value: any, optioned: any, yAxisCodes?: any): any; declare function toIndex(item: any, xAxisIndex?: number, yAxisIndex?: number): { z: number; type: string; name: any; color: any; selected: any; data: { xAxisIndex: number; yAxisIndex: number; shape: string; value: any; gridIndex: number[]; label: { text: string; fill: string; offset: number[]; align: string; padding: number[]; verticalAlign: string; backgroundColor: any; borderWidth: number; borderRadius: number; }; lineStyle: { lineDash: number[]; lineWidth: number; opacity: number; stroke: any; }; }[]; }; export { toIndex, renderAltitudeMark, toMarks, toIndices };