0👍
To remove the legend you should disable it (as you partially did but in the wrong config node).
options: {
plugins: {
legend: false,
}
...
}
or
options: {
plugins: {
legend: {
display: false
},
}
...
}
- Chartjs-Chart.js canvas resize of pie / doughnut chart
- Chartjs-Charts js showing only when positives data
Source:stackexchange.com