I'm trying to render more than one chart to my page, and whenever I do that, I'm facing a problem where only the first chart is fully interactive, namely hover and tooltip, work properly. But the next charts don't display hover and tooltip at all. Do you have any idea what might cause it?
I use jquery to achieve that. Also, I get data from google sheets, so the charts will be updated whenever I change the numbers.
Hover and Tooltip not working when more than one chart on a page
in Javascript Problems
Posted · Edited by Adix182 · Report reply
Hi,
I'm trying to render more than one chart to my page, and whenever I do that, I'm facing a problem where only the first chart is fully interactive, namely hover and tooltip, work properly. But the next charts don't display hover and tooltip at all. Do you have any idea what might cause it?
I use jquery to achieve that. Also, I get data from google sheets, so the charts will be updated whenever I change the numbers.
HTML:
CSS:
jQuery: