Chartjs-Displaying the first value of the array in datasets.label Chartjs

0👍

After adding elements to data.labels and values to data.datasets.data, you need to invoke chart.update().

Please consult Adding or Removing Data from Chart.js documentation.

Leave a comment