Home Forums Chart Support Series/Tooltip toggle works in JSFiddle, but not my site?

Series/Tooltip toggle works in JSFiddle, but not my site?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #42453

    Hello!

    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?

    For comparison:
    https://jsfiddle.net/xgrinderx/dx3q967t/4/

    http://the-game-father.com/Stats

    #42462

    @glowery,

    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.

    —-
    Manoj Mohan
    Team CanvasJS

    #42465

    AH YES! Thank you so much! This resolved my issue.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.