enablePanning property

bool enablePanning
final

Enables or disables the panning.

Panning can be performed on a zoomed axis. you can able to panning the zoomed chart.

Defaults to false.

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

Implementation

final bool enablePanning;