Google Visulisation散点图只显示最后一系列工具提示 [英] Google Visulisation scatter graph only showing last series tooltips

查看:126
本文介绍了Google Visulisation散点图只显示最后一系列工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

演示胜过千言万语: http://jsfiddle.net/5YEDW/2/



正如你所看到的,它只是第三个系列,黄色的,显示了工具提示。我的理解是,代码应该可以正常工作 - 正如演示中所演示的那样: http://jsfiddle.net/ebyfc/



任何想法为什么它只显示最后一个系列工具提示(在第一个演示中)?

要清楚,红色和蓝色标记应显示设置的工具提示,而不是默认设置。即(00:15)不是10 / 2.5

解决方案

原来你需要每个系列的工具提示栏。



http://jsfiddle.net/4THAe/1/


A demo is worth a thousand words: http://jsfiddle.net/5YEDW/2/

As you can see it's only the third series, the yellow one, that shows the tooltip. My understanding is that the code should work fine - as demonstrated in this demo: http://jsfiddle.net/ebyfc/

Any ideas why it is only showing the last series tooltip (in the first demo)?

To be clear, the red and blue markers should show the set tooltip, not the default. ie (00:15) not 10/2.5

解决方案

Turns out you need a tooltip column for each series.

http://jsfiddle.net/4THAe/1/

这篇关于Google Visulisation散点图只显示最后一系列工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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