enableMouseWheelZooming property

bool enableMouseWheelZooming
final

Enables or disables the mouseWheelZooming.

Mouse wheel zooming for can be performed by rolling the mouse wheel up or down. The place where the cursor is hovering gets zoomed io 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;