drawGridLines

fun DrawScope.drawGridLines(yBottom: Float, top: Float, xLeft: Float, paddingRight: Dp, scrollOffset: Float, verticalPointsSize: Int, xZoom: Float, xAxisScale: Float, ySteps: Int, xAxisStepSize: Dp, gridLines: GridLines)

DrawScope.drawGridLines is the extension method used to draw the grid lines on any graph

Parameters

yBottom

: Bottom value for Y-Axis

top

: Top value for Y axis

xLeft

: Total left padding in X-Axis.

paddingRight

: Total right padding.

scrollOffset

: Total scroll offset.

verticalPointsSize

: Total points in the X-Axis.

xZoom

: Total zoom offset.

xAxisScale

: Scale of each point in X-Axis.

ySteps

: Number of steps in y-Axis.

xAxisStepSize

: The size of each X-Axis step.

gridLines

: Data class to handle styling related to grid lines.