Always start y-axis at 0.
Improve calculation of y-axis maximum value.

A maximum data value of 1431 gives a maximum y-axis value of 1500
instead of 2000.