Fix Y axis on percentage charts

This PR fixes the Y axis on percentage charts, as proposed in #31.