开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜