Home › forums › Using CanvasJS › Tooltip persists after mouse moves to null data
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 5 months, 1 week ago.
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
You must be logged in to reply to this topic.