[Chartjs]-Vue Chart.js component does not render

2👍

The problem is, that you’re not updating the labels.
You define 10 items in your labels array. This works for 10 data entries.

If you push a new entry to your data array, you also need to add a new label. Otherwise chart.js will throw this error.

Leave a comment