Answers for "Vue Chartjs label false"

0

hide label chratjs

...
options: {
    legend: {
        display: false
    },
    tooltips: {
        callbacks: {
           label: function(tooltipItem) {
                  return tooltipItem.yLabel;
           }
        }
    }
}
Posted by: Guest on October-11-2020
0

Vue Chartjs label false

// Add at the start of your script
Chart.defaults.global.legend.display = false;
Posted by: Guest on January-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language