enableMouseWheelZooming property Null safety

bool enableMouseWheelZooming
final

Enables or disables the mouseWheelZooming.

Mouse wheel zooming can be performed by rolling the mouse wheel up or down. The place where the cursor is hovering gets zoomed in or out according to the mouse wheel rolling up or down.

Defaults to false.

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

Implementation

final bool enableMouseWheelZooming;