Click even on pie chart using dojo
I have a sliced pie chart.
I need to implement Click event on 开发者_开发问答each slice to go other page.
Can any body tel me how to do this kind of clicks on the pie chart using dojo?
You should use actions for that. Read this article (linked from the official docs): http://www.sitepen.com/blog/2008/05/27/dojo-charting-event-support-has-landed/
As always you can look at the code for standard actions in dojox/charting/action2d
.
精彩评论