How can I get the value of the slice where I am hovering in a pie chart? In a line chart it is possible to do tooltipItem.yLabel, but I can not find a similar approach for pie charts.
@DanielGJohnsen I would do:
function label(tooltipItem, chartInstance) {
var value = chartInstance.data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];
}
Most helpful comment
@DanielGJohnsen I would do: