cardinalSplineTension property
Line tension of the cardinal spline. The value ranges from 0 to 1.
Defaults to 0.5
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
selectionGesture: ActivationMode.doubleTap,
series: <SplineAreaSeries<SalesData, num>>[
SplineAreaSeries<SalesData, num>(
splineType: SplineType.natural,
cardinalSplineTension: 0.4,
),
],
));
}
Implementation
final double cardinalSplineTension;