unselectedColor property

Color? unselectedColor
final

Color of the unselected data points or series.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                 selectionBehavior: SelectionBehavior(
                   unselectedColor: Colors.grey,
                 ),
               ),
             ],
       ));
}

Implementation

final Color? unselectedColor;