Curve Enum
How the points of a line or an area are joined.
public enum CurveFields
| Name | Value | Description |
|---|---|---|
Linear | 0 | Straight segments. |
Step | 1 | Horizontal steps that change halfway between two points. |
StepBefore | 2 | Horizontal steps that change at the start of each point. |
StepAfter | 3 | Horizontal steps that change at the end of each point. |
MonotoneX | 4 | A smooth curve that preserves the monotonicity of the data along x (Fritsch–Carlson), as d3's curveMonotoneX: it does not overshoot. |
CatmullRom | 5 | A smooth centripetal Catmull–Rom spline (alpha 0.5) that passes through every point. |