Thanks for the quick feedback!
With your code, I still see two issues.
1. some labels appear twice with certain size of the chart
2. With smaller size of the chart (when resized), with the same
distance on y-axis, the label will show 1.0, 0.6, 0.3, 0.0. In other
words, the gap will be 0.4 or 0.3 with the same distance. I hope you
know what I am talking about.