score:4

Accepted answer

you have to define a callback function to change the tooltip title as follows.

tooltips: {
    mode: 'index',
    callbacks: {
       title: tooltipitem => 'question: ' + questions[tooltipitem[0].index]
    }
}

please check the amended jsfiddle


Related Query

More Query from same tag