draw Grid Lines
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
y Bottom
: Bottom value for Y-Axis
top
: Top value for Y axis
x Left
: Total left padding in X-Axis.
padding Right
: Total right padding.
scroll Offset
: Total scroll offset.
vertical Points Size
: Total points in the X-Axis.
x Zoom
: Total zoom offset.
x Axis Scale
: Scale of each point in X-Axis.
y Steps
: Number of steps in y-Axis.
x Axis Step Size
: The size of each X-Axis step.
grid Lines
: Data class to handle styling related to grid lines.