enableDoubleTapZooming property

bool enableDoubleTapZooming
final

Enables or disables the double tap zooming.

Zooming will enable when you tap double time in plotarea. After reaching the Maximum zoom level, zooming will be stopped.

Defaults to false.

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

Implementation

final bool enableDoubleTapZooming;