zoomPanBehavior property

ZoomPanBehavior? zoomPanBehavior
final

Customizes the zooming and panning settings.

late ZoomPanBehavior _zoomPanBehavior;

@override
void initState() {
  _zoomPanBehavior = ZoomPanBehavior( enablePanning: true);
  super.initState();
 }

Widget build(BuildContext context) {
    return Container(
        child: SfCartesianChart(
            zoomPanBehavior: _zoomPanBehavior
          )
     );
}

Implementation

final ZoomPanBehavior? zoomPanBehavior;