splineType property
Type of the spline curve. Various type of curves such as clamped, cardinal, monotonic, and natural can be rendered between the data points.
Defaults to SplineType.natural.
Also refer SplineType.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineAreaSeries<SalesData, num>>[
SplineAreaSeries<SalesData, num>(
splineType: SplineType.monotonic,
),
],
);
}
Implementation
final SplineType splineType;