maximumZoomLevel property
final
Maximum zoom level. Zooming will be stopped after reached this value.
Defaults to null
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
zoomPanBehavior: ZoomPanBehavior(enableSelectionZooming: true, maximumZoomLevel: 2),
));
}
Implementation
final double maximumZoomLevel