0👍
Each dataset also should include backgroundColor
property with assigned gradient values. I’ve created JSFiddle based on your code.
- Chartjs-Chart.js update chart when legend label is hidden?
- Chartjs-Chart.js Console JS Error while destroy the Chart on click event
Source:stackexchange.com