pointsToSvg<
T>(points,scaleX,scaleY):SvgPoint[]
Defined in: utils.ts:158
Filters non-finite points and maps the remaining points into SVG coordinates.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type | Description |
|---|---|---|
points | PlotPoint<T>[] | Data-space points. |
scaleX | Scale | Scale used for x coordinates. |
scaleY | Scale | Scale used for y coordinates. |
Returns
SvgPoint[]
SVG-space points for finite input coordinates.