给echars柱状图,散点图加点击事件。

myChart.on('click', refresh);
// option 是绑定的数据源
function refresh(isBtnRefresh) {
var staid = isBtnRefresh.staid;
window.open('monitor/stationDetails.html?staid=' + "20151210112301427241692020131421");
}

posted on 2016-10-09 11:34  发烧开发者  阅读(1609)  评论(0编辑  收藏  举报

导航