splineType property

SplineType? splineType
final

Type of the spline curve in spline range area series.

Various type of curves such as SplineType.clamped, SplineType.cardinal, SplineType.monotonic and SplineType.natural can be rendered between the data points.

Defaults to SplineType.natural.

Also refer SplineType.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <SplineRangeAreaSeries<SalesData, num>>[
      SplineRangeAreaSeries<SalesData, num>(
        splineType: SplineType.monotonic
      ),
    ],
  );
}

Implementation

final SplineType? splineType;