Tooltip not displaying when multiple charts on page

28 views
Skip to first unread message

Gary Whiteside

unread,
Sep 23, 2021, 4:20:07 AM9/23/21
to Google Visualization API
I am new to Google Charts and I have successfully used them to create a dashboard on a SharePoint 2013 page containing multiple charts based on values pulled through from SharePoint lists.

That's all working however I've noticed that the tooltip only works on the last chart on the page. 

Is there anything else I need to set to get tooltips to work when there are multiple charts on the page?

Thanks

Daniel LaLiberte

unread,
Sep 23, 2021, 10:38:02 AM9/23/21
to google-visua...@googlegroups.com
Hi Gary,

It should certainly be possible to draw multiple charts on the same page with full interactivity for each, including tooltips. But you have to make sure you are loading, building, and drawing your charts such that they are not going to get confused with each other.    We have documentation that might help about how to draw multiple charts on a page:  https://developers.google.com/chart/interactive/docs/basic_multiple_charts?hl=en  In addition to what it says there, make sure you are using different ids for each chart container.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/7aa0cb4a-54d0-4a03-b060-790e8d725757n%40googlegroups.com.


--

Daniel LaLiberte

 • SWE

 Cambridge MA

 • dlaliberte@Google.com

Reply all
Reply to author
Forward
0 new messages