Skip to content

Type Alias: PlotAnnotationAxis ​

PlotAnnotationAxis = object

Defined in: annotations.ts:21

Explicit plot-local coordinates for an axis whose scale is not its position mapping.

Properties ​

bounds? ​

optional bounds?: (key) => readonly [number, number] | undefined

Defined in: annotations.ts:25

Outer edges of a category's slot, required for categorical bands.

Parameters ​

key ​

string

Returns ​

readonly [number, number] | undefined


kind ​

kind: "numeric" | "categorical"

Defined in: annotations.ts:22


position ​

position: (value) => number | undefined

Defined in: annotations.ts:23

Parameters ​

value ​

AnnotationCoordinate

Returns ​

number | undefined

Released under the MIT License.