selectedBorderWidth property
Border width of the selected data points or series.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
series: <BarSeries<SalesData, num>>[
BarSeries<SalesData, num>(
selectionSettings: SelectionSettings(
selectedColor: Colors.red,
selectedBorderWidth: 2
),
),
],
));
}
Implementation
final double? selectedBorderWidth;