Home › forums › Chart Support › Can we define a tooltip click event?
Tagged: tooltip
Hi, I am using different properties of tooltip like cornerRadius, animationEnabled, shared, contentFormatter. Is there any property which helps us to define click event on tooltip also?
@shv22,
You can do so by placing any HTML element (div, button etc.) in the toolTip content and attaching click event handler to it. Please, have a look at this jsfiddle.
___ Suyash Singh Team CanvasJS
Thanks for the fiddle. This helps me a lot.
You must be logged in to reply to this topic.