hidden: Function

Sets the hidden event handler for ToolTip that gets triggered whenever toolTip is hidden.


Default: null
Example: hidden: function(e) {
     alert(“ToolTip has been hidden”);
  },

Note:
  • hidden event handler can be used to sync toolTip across multiple charts in a page.


var chart = new CanvasJS.Chart("container",
{
 .
 .
 toolTip: {
   .
   .
   hidden: function ( e ) {
     console.log("ToolTip has hidden");  
   }  
  }],
 .
 .
});
chart.render();



Event Object

e: {
  chart: {}
}



Try it Yourself by Editing the Code below.


  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question