@visactor/vchart
Version:
charts lib based @visactor/VGrammar
23 lines (22 loc) • 778 B
TypeScript
import type { ShapeType } from '../shape';
import type { TooltipContentProperty } from './common';
export interface ITooltipShapePattern {
seriesId?: number;
hasShape?: boolean;
shapeType?: TooltipContentProperty<ShapeType | string>;
shapeFill?: TooltipContentProperty<string>;
shapeStroke?: TooltipContentProperty<string>;
shapeLineWidth?: TooltipContentProperty<number>;
shapeSize?: TooltipContentProperty<number>;
shapeHollow?: TooltipContentProperty<boolean>;
shapeColor?: TooltipContentProperty<string>;
}
export interface ITooltipShapeActual {
hasShape?: boolean;
shapeType?: ShapeType | string;
shapeFill?: string;
shapeStroke?: string;
shapeLineWidth?: number;
shapeSize?: number;
shapeHollow?: boolean;
}