Skip to content

@putianyi888/vue3-plots


PlotPoint<T> = object & [unknown] extends [T] ? object : object

Defined in: utils.ts:9

Data-space point consumed by plot layers.

x and y are numeric coordinates in the data domain. When the generic parameter is left as unknown, data is optional. When a concrete generic type is supplied, data is required so callers can carry typed source data alongside the plotted coordinates.

Type Declaration

x

x: number

y

y: number

Type Parameters

Type ParameterDefault type
Tunknown