You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the horizontal tangent at each sample comes from smoothMonotone: 'x' (the control points keep that sample's y). That part is the behavior added in #7158. smooth: true without it can still bow past the samples, but it does not flatten every knot.
#21794 leaves 'x' and 'y' as they are and adds smoothMonotone: 'monotoneX' for a monotone curve that does not put a saddle on every sample.
Activity
helgasoft commentedon Apr 6, 2026
apparently this 'saddle' effect comes from smooth, not smoothMonotone - Demo.
And is probably by design.
awtaylor commentedon Oct 19, 2026
I believe the horizontal tangent at each sample comes from
smoothMonotone: 'x'(the control points keep that sample's y). That part is the behavior added in #7158.smooth: truewithout it can still bow past the samples, but it does not flatten every knot.#21794 leaves
'x'and'y'as they are and addssmoothMonotone: 'monotoneX'for a monotone curve that does not put a saddle on every sample.