UNPKG

@zhouchangju/standard-chart

Version:

标准范式组件

48 lines (47 loc) 1.08 kB
import type { StandardData } from '../../../index'; export interface ItemConfig { image?: string; badgeText?: string; insideText?: string; } export declare enum GraphicType { rect = "rect", circle = "circle", text = "text", group = "group", image = "image", polygon = "polygon", line = "line", path = "path", bezierCurve = "bezierCurve", ellipse = "ellipse", arc = "arc", sector = "sector" } export interface Graphic { id?: string; x?: number; y?: number; type: GraphicType; shape?: any; style?: any; emphasis?: any; rotation?: number; originX?: number; originY?: number; scaleX?: number; scaleY?: number; transition?: string | string[]; textContent?: any; textConfig?: any; children?: Graphic[]; [propName: string]: any; } export interface DvScatterData extends StandardData { itemConfig?: ItemConfig; formatValue?: unknown; nextValue?: unknown[]; formatNextValue?: unknown[]; preValue?: unknown[]; formatPreValue?: unknown; }