cardinalSplineTension property

double cardinalSplineTension
final

Line tension of the cardinal spline curve.

This is applicable only when SplineType.cardinal is set to splineType property.

Defaults to 0.5.

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

Implementation

final double cardinalSplineTension;