Chartjs-How to fix labels in chart.js

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

Leave a comment