plotOptions: {
series: {
cursor: 'pointer',
events: {
legendItemClick: function(event) {//图例点击事件
var openUrl = "changeDateEntityController.do?detailzhexian";//弹出窗口的url
var iWidth=1200; //弹出窗口的宽度;
var iHeight=600; //弹出窗口的高度;
var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置;
var iLeft = (window.screen.availWidth-10-iWidth)/2; //获得窗口的水平位置;
window.open(openUrl,"","height="+iHeight+", width="+iWidth+", top="+iTop+", left="+iLeft);
},
click: function(e) {//图表点击事件
var openUrl = "changeDateEntityController.do?columnTwoDetail2";//弹出窗口的url
var iWidth=1200; //弹出窗口的宽度;
var iHeight=600; //弹出窗口的高度;
var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置;
var iLeft = (window.screen.availWidth-10-iWidth)/2; //获得窗口的水平位置;
window.open(openUrl,"","height="+iHeight+", width="+iWidth+", top="+iTop+", left="+iLeft);
}
},
},
column : {
pointPadding:0.1,
borderWidth: 0,
pointWidth: 10,
groupPadding: 0.1,//分组之间的距离值
shadow: false,
}
},
heightcharts报表点击事件
最新推荐文章于 2021-08-05 16:54:27 发布