chart.js click on line bar code example
Example: chart.js on hover and onclick event
onHover: function(event,elements) {
$("#canvas1").css("cursor", elements[0] ? "pointer" : "default");
}
onHover: function(event,elements) {
$("#canvas1").css("cursor", elements[0] ? "pointer" : "default");
}