带有向下钻取/可点击饼图部件的jquery饼图

时间:2021-10-13 20:20:25

I'm looking for a JQuery plugin to make pie charts whose wedges or slices I can click to go to another page based on the value of the pie wedge.

我正在寻找一个JQuery插件来制作饼图,其中我可以点击楔形或切片,根据饼形楔形的值转到另一个页面。

I'm having a pie chart with grades for a class (A-F). If someone clicks the "A" wedge, I want to redirect to a page that shows the A students.

我有一张饼图,上面有一个等级(A-F)。如果有人点击“A”楔子,我想重定向到显示A学生的页面。

3 个解决方案

#1


1  

I did this with jQuery and open flash charts

我用jQuery和打开flash图表做到了这一点

#2


1  

Flot has a pie plugin you can use.

Flot有一个你可以使用的饼图插件。

#3


0  

Have a look at gRaphael. Its not a jQuery plugin, but it is js and can be used with jQuery as shown here. The documentation is pretty sparse, but there are some good examples. I think this one shows how to assign a link to each slice of the pie.

看看gRaphael。它不是一个jQuery插件,但它是js,可以和jQuery一起使用,如下所示。文档很稀疏,但有一些很好的例子。我认为这个展示了如何为饼图的每个切片分配链接。

#1


1  

I did this with jQuery and open flash charts

我用jQuery和打开flash图表做到了这一点

#2


1  

Flot has a pie plugin you can use.

Flot有一个你可以使用的饼图插件。

#3


0  

Have a look at gRaphael. Its not a jQuery plugin, but it is js and can be used with jQuery as shown here. The documentation is pretty sparse, but there are some good examples. I think this one shows how to assign a link to each slice of the pie.

看看gRaphael。它不是一个jQuery插件,但它是js,可以和jQuery一起使用,如下所示。文档很稀疏,但有一些很好的例子。我认为这个展示了如何为饼图的每个切片分配链接。