使用Google Visualization API,如何关闭单个列的工具提示? [英] Using Google Visualization API, how to turn off tooltips for a single column?

查看:149
本文介绍了使用Google Visualization API,如何关闭单个列的工具提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据此参考 http://code.google。 com / apis / chart / interactive / docs / gallery / linechart.html tooltip.trigger ='none'关闭图表上的工具提示。

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

你如何使用它? data.tooltips.trigger ='none'

而且,如何关闭单个列的工具提示

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

推荐答案

当您绘制图表时,将其作为参数传递给它:

When you draw the chart pass it as a param:

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

这篇关于使用Google Visualization API,如何关闭单个列的工具提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆