export type ShapeType = 'circle'; export interface SparklineSpec { type: 'line'; xField?: string | { field: string; domain?: (number | string)[]; }; yField?: string | { field: string; domain?: [number, number]; }; pointShowRule?: 'all' | 'none' | 'isolatedPoint'; smooth?: boolean; line?: { style: ILineMarkStyle; }; point?: { style: ISymbolMarkStyle; hover?: ISymbolMarkStyle | false; }; crosshair?: { style: ILineMarkStyle; }; } interface IMarkStyle { fill?: string; stroke?: string; strokeWidth?: number; } interface ILineMarkStyle extends IMarkStyle { stroke?: string; } interface ISymbolMarkStyle extends IMarkStyle { shape: ShapeType; size: number; } export {};