0๐
Could you try this way?
labels: [โโ, โโ, โโ],
datasets: [{ data: [โโ, โโ, โโ] backgroundColor: [โโ, โโ, โโ] borderColor: [โโ, โโ, โโ] }]
- Chartjs-Chart.js: Legend doesn't update on first call to chart.update()
- Chartjs-Chartjs โ How to use differente color if value is lower than previous value?
Source:stackexchange.com