selectionRectBorderColor property

Color selectionRectBorderColor
final

Border color of the selection zooming rectangle.

Defaults to Colors.grey

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

Implementation

final Color selectionRectBorderColor