enableSelectionZooming property

bool enableSelectionZooming
final

Enables or disables the selection zooming.

Selection zooming can be performed by dragging. The drawn rectangular region will be zoomed on touch.

Defaults to false.

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

Implementation

final bool enableSelectionZooming;