borderDrawMode property
Border type of the spline range area series.
It takes the following two values:
- RangeAreaBorderMode.all renders border for all the sides of the series.
- RangeAreaBorderMode.excludeSides renders border at the top and bottom of the series, and excludes both sides.
Defaults to RangeAreaBorderMode.all
.
Also refer RangeAreaBorderMode.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineRangeAreaSeries<SalesData, num>>[
SplineRangeAreaSeries<SalesData, num>(
borderColor: Colors.red,
borderWidth: 3,
borderDrawMode: RangeAreaBorderMode.excludeSides,
),
],
);
}
Implementation
final RangeAreaBorderMode borderDrawMode;