enableDoubleTapZooming property
Enables or disables the double tap zooming.
Zooming will enable when you tap double time in plot area. After reaching the maximum zoom level, zooming will be stopped.
Defaults to false
.
late ZoomPanBehavior zoomPanBehavior;
void initState() {
zoomPanBehavior = ZoomPanBehavior(
enableDoubleTapZooming: true
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
zoomPanBehavior: zoomPanBehavior
);
}
Implementation
final bool enableDoubleTapZooming;