const (
// ChartCurveLinear joins points with straight segments.
ChartCurveLinear ChartCurve = iota
// ChartCurveNatural is a natural cubic spline, d3's curveNatural and the
// "natural" type of Recharts. It is smooth but may overshoot between points.
ChartCurveNatural
// ChartCurveMonotone is d3's curveMonotoneX: smooth, and never overshooting
// the data between two points.
ChartCurveMonotone
// ChartCurveStep holds each value halfway to the next point.
ChartCurveStep
)类型 ChartCurve
API 文档由 Go 源码生成,内容为英文。
type ChartCurve uint8ChartCurve selects how a series line connects its points.