I've also recently encountered this. It looks like the percentage is "helpfully" appended to the tooltip text, which probably works fine for text-only tooltips, but doesn't fit into HTML markup.
Fortunately, I've found a workaround until the issue is fixed by adding a trailing "<!--" to my HTML markup. I suspect this is working because the tooltip markup is inserted with the percentage appended into an existing <div> element (probably through element.innerHTML), and the browser automatically closes the comment at the end, swallowing up the unwanted percentage in the process. On Tuesday, June 16, 2015 at 2:29:07 PM UTC-5, Daniel LaLiberte wrote: > > Thanks Ian, > > The bug is that we add the percentage value to the tooltip text regardless > whether it is a custom tooltip or auto-generated. We should be able to fix > this for the next release. > > On Fri, Jun 12, 2015 at 4:03 PM, Ian Walbridge <[email protected] > <javascript:>> wrote: > >> >> I am using 1.1 for the isStacked: 'percent' option and I added custom >> tooltip data however I get a artifact from the self generated tooltip. If I >> change isStacked to true or remove it the custom tooltip works as expected. >> >> >> >> <https://lh3.googleusercontent.com/-GY649gh0rPk/VXs6JpunPwI/AAAAAAAAHI4/D9MvuNdQ8jU/s1600/img_1.png> >> >> -- >> 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] >> <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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] <javascript:> 5CC, Cambridge MA > [email protected] <javascript:> 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/4042088a-d58f-4dfe-9327-6c0dbfdd35ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
