score:4

Accepted answer

in previous versions of chart.js (for example 2.6) the onhover handler has to be configured as below:

  hover: { 
     onhover: function(evt, item) { 
        if (item.length) {
            console.log("onhover", item, evt.type);
            console.log(">data", item[0]._index, data.datasets[0].data[item[0]._index]);
        }
     }
  },

itme[0]._index property points to data of target item

so your fiddle (chart.js 2.6) updated is: https://jsfiddle.net/beaver71/440l5661/

with chart.js 2.7: https://jsfiddle.net/beaver71/ttrak7sj/


Related Query

More Query from same tag