to make tooltip transparent

179 views
Skip to first unread message

Manish Kumar

unread,
Jan 11, 2013, 7:18:44 AM1/11/13
to google-visua...@googlegroups.com
Hello all,
I am trying to make my tooltip of google pie chart transparent so that it does not block the click on pie chart.
Or if you know any other way to stop the tooltip blocking.
Actually in my chart the tooltip is created over the chart sector which is creating problem.
Please help me soon.
Thanks in advance.

asgallant

unread,
Jan 11, 2013, 2:48:37 PM1/11/13
to google-visua...@googlegroups.com
You can mess around with the SVG code to change the fill color of the tooltip's <path> elements to make it transparent.  I don't think you can do transparency with the VML version of the charts, though (use by versions of IE older than 9).  Here's example code that does it: http://jsfiddle.net/asgallant/UK8Jy/ (note that the example uses jQuery for browser detection and document manipulation, but you can use other libraries or plain old regular javascript to accomplish the same thing).

Manish Kumar

unread,
Jan 14, 2013, 1:15:20 AM1/14/13
to google-visua...@googlegroups.com
Thank you very much asgallant ,
Your solution are very helpful.
Reply all
Reply to author
Forward
0 new messages