dashArray property

List<double>? dashArray
final

Dashes of the major grid lines.

Defaults to [0,0].

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           primaryXAxis: NumericAxis(
                majorGridLines: MajorGridLines(
                  dashArray: [1,2]
                )
               ),
       ));
}

Implementation

final List<double>? dashArray;