Enable HTML processed tooltip by writing this code in your Google chart settings. CODE: tooltip: { isHtml: true }
(,) add a comma if necessary. :)
Now you can create tooltips using HTML and css. :)
/ CSS styling /
To create a tooltip window:
div.google-visualization-tooltip {}
To create a style, such as font size, color, etc.
div.google-visualization-tooltip > ul > li > span {}
Use !important
when necessary;)
http://jsfiddle.net/nyNAg/66/
source share