javascript - 从 Google 可视化饼图(核心图表)中删除悬停工具提示

标签 javascript html google-visualization

如何从 Google 可视化饼图(核心图)中删除悬停工具提示?需要使其跨浏览器工作,例如 IE、FF、Chrome、Safari、Opera

enter image description here

编辑:我需要切片也可以点击。
enableInteractivity : false 移除悬停但不抛出“选择”或其他基于交互的事件。

最佳答案

也许您需要将此添加到图表的选项中

'tooltip' : {
  trigger: 'none'
}

通过这种方式,您可以将 enableInteractivity 设置为 true。

关于javascript - 从 Google 可视化饼图(核心图表)中删除悬停工具提示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8223145/

相关文章:

javascript - 如何将字符串转换为对象作为键值对?

javascript - 不可变的原始类型

javascript - if 语句在 Javascript 中不能正常工作

javascript - 谷歌图表 : How to add a caption to the color axis

javascript - 如何使用 JavaScript 聚焦 html 文本字段?

html - 寻找 CSS 来替换文本或定位动态 DIV/Class id 的方法

html - SVG 矢量图像动画

html - 如何仅使用 CSS 而不使用表格来定位它

google-apps-script - 如何使用 setOptions 设置 "aggregate column a"

javascript - 我可以向 Google Charts Load 的回调函数传递参数吗?