简体   繁体   中英

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?

I would idealy like to format the pop-up with my own html. some(3) and other(4) should be links.

此弹出窗口中需要链接

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.

Edit 1: Google themselfes have a clickable link "Create new annotation" on their google analytics reports, so anything like that would be great.

在此输入图像描述

What you want is the Annotated Time Line from Google Visualizations. Take a look at the first configuration option. :)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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