Using the Google visualization API, how do I disable tooltips for a single column?

According to this reference http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html , tooltip.trigger = 'none'disables tool tips in the diagram.

How do you use this? data.tooltips.trigger = 'none'?

And how do you disable tooltips for a single column?

0
source share
2 answers

When you draw a chart, pass it as a parameter:

chart.draw(data, {trigger:'none'});
+1
source

Disabling tooltips for individual columns is not possible. But you can get a similar effect by adding enableInteractivity: falseto the series.

. .

+1

Source: https://habr.com/ru/post/1533286/


All Articles