Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customize Google Charts Gantt tooltip

I've tried to customize the tooltip for the Gantt Google Chart and it does not seem to apply

I've added :

 data.addColumn({type: 'string', role: 'tooltip'});

and options

tooltip: {isHtml: true},
legend: 'none'

But it does not seem to work. Below it's a fiddle with the implementation as provided by Google and adapted by me as described above. Any idea why it does not work?

https://jsfiddle.net/uped4teh/1/

like image 867
maephisto Avatar asked Nov 18 '15 11:11

maephisto


1 Answers

I'm working with the same chart and I have several problems... The Html tooltip feature is not available for google gantt chart, you can read about it in the section "Supported charts" in the link that I copy below...

https://developers.google.com/chart/interactive/docs/customizing_tooltip_content

Good Lucky

Let me know if my answer helped you

like image 120
Mauro Sebastian Volpe Paredes Avatar answered Nov 13 '22 23:11

Mauro Sebastian Volpe Paredes