Chartjs-How to remove color label on tool tip?

0👍

Use the callbacks feature to remove the label:

  options: {
    legend: {
        display: false
    },
    tooltips: {
        callbacks: {
        label: function(tooltipItem) {
        console.log(tooltipItem)
            return tooltipItem.yLabel;
        }
      }
    }
  }

Leave a comment