ecomfe/echarts — pull request #651 by airekans (2014-09-04 08:01:55+00:00)
Title: Pass target and zrender to the custom handler

传递target和zrender到自定义函数，使得自定义函数能够做更多的事情。
下面是一个例子：

```javascript
var is_auto_refresh = true;
function on_auto_refresh_click (option, target, zr) {
is_auto_refresh = !is_auto_refresh;
if (is_auto_refresh) {
zr.modShape(target.id, {style: {opacity: 0.8},
highlightStyle: {opacity: 1,
text: "取消自动刷新"}
});
zr.refresh();
} else {
zr.modShape(target.id, {style: {opacity: 0.2},
highlightStyle: {opacity: 0.4,
text: "自动刷新"}
});
zr.refresh();
}
}
```