lineWidth property
Width of the crosshair line.
Defaults to 1
.
late CrosshairBehavior _crosshairBehavior;
void initState() {
_crosshairBehavior = CrosshairBehavior(
enable: true,
lineWidth: 5
);
super.initState();
}
Widget build(BuildContext context) {
return SfCartesianChart(
crosshairBehavior: _crosshairBehavior
);
}
Implementation
final double lineWidth;