[Chartjs]-Chart.js – Changing value of hover labels

5👍

Try adding a customised callback for the tooltips i.e. in this case no title on tooltip just the axis label..

tooltips: {
          callbacks: {
                title: function(tooltipItems, data) {
                  return '';
                },
                label: function(tooltipItem, data) {
                  return data.labels[tooltipItem.index];
                }
              }
      },

Leave a comment