getYAxisScale

fun getYAxisScale(points: List<Point>, steps: Int): Triple<Float, Float, Float>

returns Triple value with minY,maxY and scale of each Y-Axis step.

Parameters

points

: List of points to be drawn.

steps

: Count of steps in the Y-Axis.