问题
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.
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.
回答1:
I did this with jQuery and open flash charts
回答2:
Flot has a pie plugin you can use.
回答3:
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.
来源:https://stackoverflow.com/questions/3963807/jquery-pie-chart-with-drilldown-clickable-pie-parts