borderColor property
Border color of the series.
Note: This is not applicable for line, spline, step line, and fast line series types.
Defaults to Colors.transparent
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <LineSeries<SalesData, String>>[
LineSeries<SalesData, String>(
borderColor: Colors.red,
),
],
));
}
Implementation
@override
final Color borderColor;