borderColor property

Color? borderColor
final

Border color of the series.

Note: This is not applicable for line, spline, step line, stacked line, stacked line 100 and fast line series types.

Defaults to Colors.transparent.

Widget build(BuildContext context) {
  return SfCartesianChart(
    series: <ColumnSeries<SalesData, String>>[
      ColumnSeries<SalesData, String>(
        borderColor: Colors.red,
        borderWidth: 2
      ),
    ],
  );
}

Implementation

final Color? borderColor;