drawGrid method

  1. @override
void drawGrid(
  1. dynamic canvas
)
override

draw the grid of chart

Implementation

@override
void drawGrid(canvas) {
  if (!hideGrid) {
    mMainRenderer.drawGrid(canvas, mGridRows, mGridColumns);
    mVolRenderer?.drawGrid(canvas, mGridRows, mGridColumns);
    mSecondaryRendererList.forEach((element) {
      element.drawGrid(canvas, mGridRows, mGridColumns);
    });
  }
}