UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

11 lines (10 loc) 556 B
import type { IMarkAreaLabelPosition, IMarkCommonArcLabelPosition } from '@visactor/vrender-components'; import type { IArcMarkSpec, IPolygonMarkSpec } from '../../../../typings'; import type { IMarkerLabelWithoutRefSpec, IMarkerState } from '../../interface'; export type IMarkAreaLabel = { position?: keyof typeof IMarkAreaLabelPosition | IMarkCommonArcLabelPosition; } & IMarkerLabelWithoutRefSpec; export interface IMarkAreaTheme { area?: Partial<IMarkerState<IPolygonMarkSpec | IArcMarkSpec>>; label?: IMarkAreaLabel | IMarkAreaLabel[]; }