1👍
✅
the reason this is happening is because chart.js sees arrays in the labels array as multiline labels, to solve your issue change labels: [labels]
to labels: labels
Source:stackexchange.com