borderDrawMode property
Border type of area series.
It have the three types of BorderDrawMode,
-
BorderDrawMode.all renders border for all the sides of area.
-
BorderDrawMode.top renders border only for top side.
-
BorderDrawMode.excludeBottom renders border except bottom side.
Defaults to BorderDrawMode.top
.
Also refer BorderDrawMode.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <AreaSeries<SalesData, num>>[
AreaSeries<SalesData, num>(
borderDrawMode: BorderDrawMode.all,
),
],
));
}
Implementation
final BorderDrawMode borderDrawMode;