You must be logged in to post your query.
Home › Forums › Chart Support › Series/Tooltip toggle works in JSFiddle, but not my site?
I implemented code on my chart to toggle hiding a group of dataSeries based on line type (if lineDashType == “dash” then toggle hide/show). But when it hides them, I am still seeing the values in the tooltip. When I copy the same code to JSFiddle, it works as I expected, hiding the tooltip values. What might be causing this?
It seems like you are using older version of CanvasJS Charts. We have updated the behaviour of tooltip to show content only for the dataseries that are visible in CanvasJS Charts v3.7. JSFiddle shared above uses the latest version of CanvasJS because of which tooltip shows the content of dataseries which are visible. Updating CanvasJS Chart version to latest will resolve the issue you are facing.
AH YES! Thank you so much! This resolved my issue.
You must be logged in to reply to this topic. Login/Register