selectionRectColor property

Color selectionRectColor
final

Color of the selection zooming rectangle.

Defaults to Color.fromRGBO(89, 244, 66, 0.2)

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          zoomPanBehavior: ZoomPanBehavior(enableSelectionZooming: true, selectionRectColor: Colors.yellow),
       ));
}

Implementation

final Color selectionRectColor