gpt4 book ai didi

linechart - 谷歌图表折线图 - 关闭单列的工具提示

转载 作者:行者123 更新时间:2023-12-04 22:12:38 26 4
gpt4 key购买 nike

我知道在 Using Google Visualization API, how to turn off tooltips for a single column? 之前已经问过这个问题,但我没有得到熟悉的答案。请有人告诉我如何关闭单个列的工具提示?我试过这个

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

但它会关闭所有列的工具提示。我只想要一列禁用工具提示,所有其他列都应该启用工具提示。

最佳答案

选项 enableInteractivity: false 被阻止以及系列选择选项等。

你可以用更好的方法来做到这一点:

Option = {
series : {
0: { tooltip : false}, // disable tooltip
1: { tooltip : true}, // enable tooltip
2: { tooltip : false},
3: { tooltip : true},
4: { tooltip : true},
}
}

它非常适合我。

关于linechart - 谷歌图表折线图 - 关闭单列的工具提示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22627791/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com