Chart.js
Chart.js copied to clipboard
[BUG] beginAtZero does not have effect for horizontalBar Charts
The beginAtZero parameter does not work for horizontalBar charts (although it works for bar charts).
Here is a link for you to test http://codepen.io/anon/pen/LxZEzE You can see that the scales starts at 2 when drawing horizontal bars even though the option beginAtZero is set.
In a horizontal chart that is the xAxis. Change yAxis to xAxis and it works as expected.
Oh ok my bad