Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chart.js on hover and onclick event

  onHover: function(event,elements) {
    $("#canvas1").css("cursor", elements[0] ? "pointer" : "default");
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hover #onclick #event
ADD COMMENT
Topic
Name
1+4 =