score:8

Accepted answer

TRY adding the following on-click event handler in your chart options ...

options: {
   onClick: function(e) {
      var element = this.getElementAtEvent(e);
      if (element.length) {
         console.log(element[0])
      }
   },
   ...
}

This should work as far as I can tell


Related Query

More Query from same tag