selectionRectBorderColor property

Color? selectionRectBorderColor
final

Border color of the selection zooming rectangle.

It used to change the stroke color of the selection rectangle.

Defaults to Colors.grey.

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

Implementation

final Color? selectionRectBorderColor;