lineDashArray property
Dashes of the crosshair line.
Any number of values can be provided in the list. Odd value is considered as rendering size and even value is considered as gap.
Dafaults to [0,0]
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
crosshairBehavior: CrosshairBehavior(
enable: true, lineDashArray: [10,10]),
));
}
Implementation
final List<double>? lineDashArray;