Skip to content

Type Alias: PlotAnnotation ​

PlotAnnotation = object & object & OnAxis<AnnotationCoordinate> | { fit: "linear"; type: "line"; x?: never; y?: never; } | { series?: never; type: "point"; x: AnnotationCoordinate; y: AnnotationCoordinate; } | { series: string; type: "point"; x: string; y?: never; } | object & OnAxis<Interval>

Defined in: annotations.ts:12

A reference mark. It does not contribute data, selection, or domain bounds.

Type Declaration ​

color? ​

optional color?: string

id ​

id: string

label? ​

optional label?: string

Released under the MIT License.