0👍
This behaviour only appears when you provide your labels array as a string instead of an array. So your labels array is not an array as you say it is but instead it is a string that looks like an array.
So you will need to convert that strong back to an array and then it will work as expected
- Chartjs-How to change the position of PrimeNG(v14.2.2) Doughnut Label to left side in Angular(v14.2.12)
- Chartjs-Formatting axis labels using ChartsJS
Source:stackexchange.com