Home › forums › Using CanvasJS › Can we define a tooltip click event?
This topic contains 2 replies, has 2 voices, and was last updated by shv22 1 year, 11 months ago.
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?
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.
Thanks for the fiddle. This helps me a lot.
You must be logged in to reply to this topic.