borderDrawMode property
Border type of area series.
Defaults to BorderDrawMode.top
.
Also refer BorderDrawMode.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <SplineAreaSeries<SalesData, num>>[
SplineAreaSeries<SalesData, num>(
borderColor: Colors.red,
borderWidth: 3,
borderDrawMode: BorderDrawMode.all,
),
],
);
}
Implementation
final BorderDrawMode borderDrawMode;