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>(
selectionBehavior: SelectionBehavior(
selectedColor: Colors.red,
selectedBorderWidth: 2
),
),
],
));
}
Implementation
final double? selectedBorderWidth;