B Seven
B Seven

Reputation: 45941

Using Google Visualization API, how to turn off tooltips for a single column?

According to this reference http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html , tooltip.trigger = 'none' turns off tooltips on a chart.

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

And, how do you turn off tooltips for a single column?

Upvotes: 0

Views: 1471

Answers (2)

phils
phils

Reputation: 312

Disabling tooltips for a single columns isn't possible. But you can get a similar effect by adding enableInteractivity: false to the series.

See this answer for an example.

Upvotes: 1

minaz
minaz

Reputation: 5790

When you draw the chart pass it as a param:

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

Upvotes: 1

Related Questions