简体   繁体   English

使用Javascript将不同的图表链接在一起

[英]Link different charts together using Javascript

I'm searching for a JavaScript library through which i can create charts that link to other charts or embed them. 我正在寻找一个JavaScript库,通过该库我可以创建链接到其他图表或嵌入它们的图表。 For example, let's say we have a pie chart, if someone clicks on a pie's slice, another different chart appears. 例如,假设我们有一个饼图,如果有人单击饼图的切片,则会出现另一个不同的图。

I'm using the Google Charts API and jqPlot at the moment, but so far I haven't found a way to add links or js functions when someone is clicking on a chart's element. 我目前正在使用Google Charts API和jqPlot,但是到目前为止,当有人单击图表元素时,我还没有找到添加链接或js函数的方法。 Any help for any library will be appreciated. 任何图书馆的任何帮助将不胜感激。

Thank you. 谢谢。

They all allow event handling 它们都允许事件处理

Here is one 这是一个

http://g.raphaeljs.com/piechart2.html http://g.raphaeljs.com/piechart2.html

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

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