axisLineDashArray property

List<double>? axisLineDashArray
final

Dashes of the axis line. Any number of values can be provided on the list. Odd value is considered as rendering size and even value is considered a gap.

Defaults to null.

@override
Widget build(BuildContext context) {
 return Scaffold(
   body: Center(
       child: SfSparkLineChart(
          axisLineDashArray: <double>[2,2],
          data: <double>[18, 24, 30, 14, 28],
      )
    ),
 );
}

Implementation

final List<double>? axisLineDashArray;