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 Parameters
| Type Parameter | Default type |
|---|---|
T | unknown |
Type Declaration
x
x:
number
y
y:
number