borderWidth property

  1. @override
double borderWidth
final

Border width 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 0.

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

Implementation

@override
final double borderWidth;