You must be logged in to post your query.
Home › Forums › Chart Support › Tooltip for multiseries line chart
Tagged: legend, multiseries line chart, tooltip
I am using multiseries line chart with live data. here I am using shared tooltip so after deselecting any legend, series is getting disappear but data is coming in tooltip for that series. is there any way to handle this?
Whenever dataSeries are hidden, you can hide its information from toolTip with the help of toolTipContent as shown in this JSFiddle.
Thanks for the given solution but it is not working in my case. I am using contentFormatter https://canvasjs.com/docs/charts/chart-options/tooltip/content-formatter/ so toolTipContent is already null. Please let me know if you have any solution for this. It will be appreciated. Thanks.
Checking visible property while formatting tooltip-content using contentFormatter should work fine in this case. Please take a look at this updated JSFiddle.
Hey Indranil, This is perfect. Thank you so much. It was very helpful. Thanks!!
You must be logged in to reply to this topic. Login/Register