drawHorizontalAxesMajorGridLines method

  1. @override
void drawHorizontalAxesMajorGridLines(
  1. Canvas canvas,
  2. Offset point,
  3. ChartAxisRenderer axisRenderer,
  4. MajorGridLines grids,
  5. int index,
  6. SfCartesianChart chart,
)

To draw the major grid lines of horizontal axes

Implementation

@override
void drawHorizontalAxesMajorGridLines(
    Canvas canvas,
    Offset point,
    ChartAxisRenderer axisRenderer,
    MajorGridLines grids,
    int index,
    SfCartesianChart chart) {
  axisRenderer._axisRendererDetails.drawHorizontalAxesMajorGridLines(
      canvas, point, axisRenderer, grids, index, chart);
}