axes property

List<ChartAxis> axes
final

Customizes the additional axes in the chart.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
            axes: <ChartAxis>[
               NumericAxis(
                            majorGridLines: MajorGridLines(
                                    color: Colors.transparent)
                            )
                 ]
       )
  );
}

Implementation

final List<ChartAxis> axes;