hide label bargraph chrtjs code example
Example 1: hide label chratjs
...
options: {
legend: {
display: false
},
tooltips: {
callbacks: {
label: function(tooltipItem) {
return tooltipItem.yLabel;
}
}
}
}
Example 2: Vue Chartjs label false
// Add at the start of your script
Chart.defaults.global.legend.display = false;