Moritz, This tooltip position problem is a known bug, with a workaround that you might be able to use described here: https://groups.google.com/d/msg/google-visualization-api/kJQeWeR6188/Zo6EkwPXPNkJ
On Fri, Nov 28, 2014 at 9:39 AM, Moritz Beber <[email protected]> wrote: > Dear all, > > I'm using a dashboard with a BarChart and custom HTML tooltip. The focus > target of the tooltip is the category. This used to work nicely but since > the latest release, the tooltip appears dead centre under the tooltip. That > means I can only get the next tooltip when hovering the mouse over a bar > outside the current tooltip. So it covers a couple of bars which is very > annoying. > > I have found the following (very similar) solutions to shift the tooltip > position: > > http://stackoverflow.com/questions/24795432/how-to-change-pop-up-location-of-google-charts-tooltip > > https://www.mail-archive.com/[email protected]/msg26167.html > > However, I'm not sure if I should add the listener to the chart or > dashboard in my case? The listener function seems to be executed either > way. When I hover over the bars I do get an error, though: "TypeError: > tooltip is null". So no div with class google-visualization-tooltip is > found by the selector in the container. When I check the variable container > in the linked solutions, it turns out to be an empty div. > > All I want to do is have the tooltip appear next to the mouse pointer. Can > anyone help, please? > > Cheers, > Moritz > > -- > 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 [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
