Home forums Chart Support Tooltip persists after mouse moves to null data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #23453


    I have tooltip issue in a series with a section of null data and a section of valid data. If I first mouse over a section of null data, as expected, I get no tooltip. If I then move to a section of valid data, as expected, I do get a tooltip. The issue arises when I then move the mouse from valid data to null data – the tooltip for the last valid data persists when mousing over mull data. I have created the following fiddle to demonstrate.

    Is there a way I can always display no tooltip when I hover null data?



    In case of column chart, toolTip is shown only when you mouse-hover on specific dataPoint, which is difficult in case of line-chart, so the behavior is designed to retain the toolTip even when you are away from the dataPoint but within the plot-area. However if you like to hide toolTip on moving out of dataPoint and show when you hover on dataPoint, please take a look at this JSFiddle.

    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.