Chartjs-Chart.js Customize tool tip to show more data

2👍

In 2.0, the callback needs a return.
So basically what you want to do is :

custom: function(tooltip) {
    tooltip.text= "Not working????"
}

By

callbacks: {
    label: function(tooltipItem, data) { return "What you want as a tooltip" }
}

Leave a comment