2👍
✅
The answer was simple, I wasn’t using the latest version of chart.js. After I changed the import line on my html to <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
it worked just fine.
1👍
Set ‘maxBarTHinkness’ property to datasets level instead of in options.
i.e datasets:[{label:’..’, data:[],maxBarThickness:100 }]
Source:stackexchange.com