getYAxisScale

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

Returns triple of Ymax, Ymin & scale for given list of points and steps

Parameters

points

: List of points in axis

steps

: Total steps in axis