Chartjs-Chartjs using array in label field

1👍

The problem is that you add the labels to the wrong position in the chart configuration.

Instead of…

barChartProjekt.labels = newLabelsArray;  

try this…

barChartProjekt.data.labels = newLabelsArray; 

Leave a comment