I have SfCartesianChart and I want to make a bottom line dashed. How to make it?
This is my code:
SfCartesianChart(
plotAreaBorderWidth: 0,
plotAreaBorderColor: Colors.white24,
primaryXAxis: DateTimeAxis(
majorGridLines: const MajorGridLines(
width: 0.5,
color: Colors.transparent,
),
),
primaryYAxis: NumericAxis(
majorGridLines: const MajorGridLines(width: 1, color: Colors.white24, dashArray: <double>[5, 5]),
minimum: 0,
maximum: 100
),
)