TChartSmoothing

type
Data Display

Path interpolation strategy for line, area and spline charts — controls how segments are drawn between consecutive data points.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

none
Straight line segments between data points. Accurate to the raw values; no overshoot at peaks.
curve
Cubic Bezier interpolation using Catmull-Rom tangent estimation. Visually smoother but may slightly overshoot sharp peaks.
monotone
Monotone cubic interpolation (Fritsch-Carlson). Smooth like curve but guaranteed not to overshoot — the implicit default for type="spline".

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Line chart with monotone smoothing

html