getAxisMajorGridColor method

  1. @override
Color? getAxisMajorGridColor(
  1. ChartAxis axis,
  2. int majorGridIndex
)

To get major grid color

Implementation

@override
Color? getAxisMajorGridColor(ChartAxis axis, int majorGridIndex) =>
    axis.majorGridLines.color;