import type { IMarkSpec, ISymbolMarkSpec, ITextMarkSpec, ILineMarkSpec, IPathMarkSpec, ICartesianSeriesSpec } from '@visactor/vchart'; export type HorizontalLabelPosition = 'top' | 'bottom' | 'top-bottom' | 'bottom-top'; export type VerticalLabelPosition = 'left' | 'right' | 'left-right' | 'right-left'; export type LabelPosition = HorizontalLabelPosition | VerticalLabelPosition; export interface IEventSeriesSpec extends ICartesianSeriesSpec, IEventSeriesTheme { type: 'event'; timeField?: string; eventField?: string; subTitleField?: string; seriesField?: string; iconField?: string; labelPosition?: LabelPosition; } export interface IEventSeriesTheme { dot?: IMarkSpec; icon?: IMarkSpec & { offset?: number; }; title?: IMarkSpec & { subTitleGap?: number; offset?: number; }; subTitle?: IMarkSpec; line?: IMarkSpec; arrow?: IMarkSpec & { thickness?: number; }; }