Browse Source

超链前端时间绑定

master
zheng 7 years ago
parent
commit
98ec8dbeda
  1. 2
      src/com/fr/plugin/demo/demoWrapper.js

2
src/com/fr/plugin/demo/demoWrapper.js

@ -2,6 +2,8 @@ demoWrapper = ExtendedChart.extend({
_init: function (dom, option) { _init: function (dom, option) {
var chart = echarts.init(dom); var chart = echarts.init(dom);
//绑定点击触发超链函数
chart.on('click', this.getLinkFun());
chart.setOption(option); chart.setOption(option);
return chart; return chart;
}, },

Loading…
Cancel
Save