import type { GroupStyleProps, PathStyleProps, TextStyleProps } from '../../shapes'; import type { ComponentOptions } from '../../core'; import type { ExtendDisplayObject, PrefixObject } from '../../types'; import type { SeriesAttr } from '../../util'; export type Position = 'top' | 'right' | 'bottom' | 'left'; export type IndicatorStyleProps = GroupStyleProps & PrefixObject & PrefixObject, 'label'> & { x: number; y: number; labelText?: T; /** position of indicator related to pointer */ position?: Position; padding?: SeriesAttr; /** εœ†θ§’εŠεΎ„ */ radius?: number; formatter?: (val: T) => ExtendDisplayObject; }; export type IndicatorOptions = ComponentOptions;