简体   繁体   English

Google Charts - 尝试在弹出窗口中添加链接或任何形式的自定义HTML

[英]Google Charts - Trying to add links or any form of custom html in popup

Is there any way to have links in any part or a google chart? 有没有办法在任何部分或谷歌图表中有链接? Or embeded html? 还是嵌入了html?

I would idealy like to format the pop-up with my own html. 我希望用我自己的html格式化弹出窗口。 some(3) and other(4) should be links. 一些(3)和其他(4)应该是链接。

此弹出窗口中需要链接

This is the closest I could get to what I would need Dynamic icons . 这是我能得到的最接近动态图标的东西

By reading on the net I am starting to think that my best option would be to not display google's popup and display a custom div instead. 通过在网上阅读,我开始认为我最好的选择是不显示谷歌的弹出窗口,而是显示自定义div。

Edit 1: Google themselfes have a clickable link "Create new annotation" on their google analytics reports, so anything like that would be great. 编辑1:Google自己在谷歌分析报告上有一个可点击的链接“创建新注释”,所以这样的事情会很棒。

在此输入图像描述

What you want is the Annotated Time Line from Google Visualizations. 您想要的是来自Google Visualizations的带注释的时间线。 Take a look at the first configuration option. 看一下第一个配置选项。 :) :)

http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html#Configuration_Options http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html#Configuration_Options

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM