How to make integer scale in Chartjs
<p>I'm trying to make a horizontal bar chart with an integer scale.
As suggested in <a href="https://stackoverflow.com/questions/21514984/javascript-chart-js-scale-fix/36319934#36319934">this question</a>, I've tried to set <code>scaleOverride</code>, <code>scaleSteps</code> etc, but it seems not to be working. I tried to put them in dataset, in options, in xScales but nothing worked.</p>

<p><a href="https://jsfiddle.net/djf4gg1m/" rel="noreferrer">This jsfiddle</a> shows what I tried to do.</p>