dashArray property

List<double>? dashArray
final

Dashes of the axis 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.

Defaults to null.

Widget build(BuildContext context) {
    return Container(
        child: SfCartesianChart(
            primaryXAxis: NumericAxis(
                 axisLine:AxisLine(
                   dashArray: <double>[5,5],
                 )
                ),
        )
     );
}

Implementation

final List<double>? dashArray;