getYMaxAndMinPoints

Returns the maximum and minimum points of Y axis

Parameters

points

List of points