projects/common/chart/path/curve.ts
Build the SVG d attribute for a sequence of points.
d
buildCurvePath(points, curve: CngxCurve)
Pixel-coordinate points to connect.
CngxCurve
Interpolation strategy. 'linear' joins points with straight L commands; 'monotone' uses cubic Béziers with the monotone-X tangent rule (Fritsch-Carlson) so the curve never overshoots between data points.
'linear'
L
'monotone'
string
The full path data starting with M. Returns '' when the input is empty; M x y when the input has one point.
M
''
M x y