Chartjs-How to get horizontal bars with ChartJS?

1👍

Since indexAxis: 'y' is not working for you, it seems you are using V2 of chart.js in this case you need to specify the type as 'horizontalBar' instead of 'bar'

Leave a comment