Recently I moved an old project depending on Chart.js from v1 to v2.
But I am unable to recreate the multi-label tooltip like shown below.
In v1 this feature was enabled by default. Does anyone know what option I would have to change in order to archive this.
My code so far.
new Chart(document.getElementById('mainChart'), {
type: 'line',
data: {
labels: labels,
datasets: [
{ data: data, label: "Expenses", fill: false
]
},
options: {
animation: { duration: 0 },
hover: { animationDuration: 0 },
responsiveAnimationDuration: 0
}
});