score:8

Accepted answer

you can use tooltips callback in chart.js to change the tooltip suffix. here is an example on how to add %. i hacked this together by doing some searches and finding other examples.

https://jsfiddle.net/nt50dzb7/

  options: {
    tooltips: {
      enabled: true,
      mode: 'single',
      callbacks: {
        label: function(tooltipitem, data) {
          var alldata = data.datasets[tooltipitem.datasetindex].data;
          var tooltiplabel = data.labels[tooltipitem.index];
          var tooltipdata = alldata[tooltipitem.index];
          return tooltiplabel + ": " + tooltipdata + "%";
        }
      }
    }
  }
}

Related Query

More Query from same tag