谷歌图表工具提示 [英] Google Charts tooltips

查看:61
本文介绍了谷歌图表工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以让Google图表中的工具提示始终可见?正如我可以在API中找到的,我只能禁用它们。

解决方案

目前在Google Visualization API中没有办法做到这一点。



你可以试试 HTML Tooltips ,看看你是否可以找出CSS让它们正常显示(这可能是)。



或者,您可以编写自己的Javascript来显示您喜欢的任何地方。不幸的是,我还没有看到这个例子。如果您确实找到了解决方案,请在此分享并将其标记为答案!

Is there any way to make tooltips in Google Charts always visible? As I could find in API, I can only disable them at all.

解决方案

There is currently no way to do this in the Google Visualization API.

You could try HTML Tooltips and see if you can figure out the CSS to have them display normally (it may be possible).

Alternatively you can write your own Javascript to display whatever you'd like wherever you'd like it. I haven't seen a working example of this anywhere unfortunately. If you do find a solution, please share it here and mark it as the answer!

这篇关于谷歌图表工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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