如何将点击事件添加到我的Raphael饼图?
var r = Raphael("holder-1",340, 185);
pie = r.g.piechart(150,85, 75, values , {legend: labels, legendpos: "east"});
我得到的答案是:
pie.click(function () { });
我可以将值传递给onclick
事件? Here can I pass values and labels to
onclick` 函数吗?