highCharts曲线图上的点,加了点击事件,请问如何在事件中获取到当前点的X轴和Y轴值,谢谢
plotOptions:{spline:{shadow:true,animation:true,lineWidth:1},series:{color:'#00b16a',...
plotOptions: {
spline: {
shadow: true,
animation: true,
lineWidth: 1
},
series: {
color: '#00b16a',
lineWidth:4,
cursor: 'pointer',
events: {
click: function(event) {
alert('如何或者当前点的X轴和Y轴值');
}
}
}
}, 展开
spline: {
shadow: true,
animation: true,
lineWidth: 1
},
series: {
color: '#00b16a',
lineWidth:4,
cursor: 'pointer',
events: {
click: function(event) {
alert('如何或者当前点的X轴和Y轴值');
}
}
}
}, 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询