selectionRectBorderWidth property
Border width of the selection zooming rectangle.
Used to change the stroke width of the selection rectangle.
Defaults to 1
.
late ZoomPanBehavior zoomPanBehavior;
void initState() {
zoomPanBehavior = ZoomPanBehavior(
enableSelectionZooming: true,
selectionRectBorderWidth: 2
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
zoomPanBehavior: zoomPanBehavior
);
}
Implementation
final double selectionRectBorderWidth;