You must be logged in to post your query.
Home › Forums › Chart Support › Call a function on any chart tooltip
Is there a way to call a function when you either hover on a chart value or within tooltip? Suppose I have bar chart and line chart together. What I want is to view certain details when I click on the line chart entries. Is this possible?
Sudha,
You can use click event of dataSeries to get information related to dataPoint on clicking it. Please refer documentation for more information.
If this doesn’t help you fulfill your requirements, kindly share JSFiddle or an example and brief us more so that we can understand it better and help you out.
— Vishwas R Team CanvasJS
Hi Vishwas,
Can you please provide the link to the documentation that you are mentioning here?
Thanks, Sudha
Please refer this link (https://canvasjs.com/docs/charts/chart-options/data/click/) for documentation on click event.
You must be logged in to reply to this topic. Login/Register