Skip to content Skip to sidebar Skip to footer

Tooltip Flickering When Hovered On Chart

I have created custom tooltip for my chart in chartjs. But the issue comes when I hover on the chart, the tooltip starts flickering. Anyone knows how can I prevent this? Thanks! if

Solution 1:

TRY setting style - pointer-events to none , for the tool-tip element, like so :

...
tooltip.style.pointerEvents = 'none';
...

Solution 2:

Change this:

google.charts.load('current', {'packages':['corechart']})

To

google.charts.load('42', {'packages':['corechart']})

There is bug in current version.kindly use 42 version.It solved issue for me.

Post a Comment for "Tooltip Flickering When Hovered On Chart"