我正在使用Highcharts-3d v.4.1.4制作图表,点击不起作用 - plotOptions.scatter.point.events.click
。我使用IE8.0.7601.17514和jQuery 1.11.0。图表在chrome和ie11中完美运行。
例如,我采用this:
plotOptions: {
scatter: {
width: 10,
height: 10,
depth: 10,
point:{
events:{
click: function(event){
alert('hello');
}
}
}
}
},
答案 0 :(得分:0)
问题与IE8 / 9中点击事件的一般问题有关。
相关主题:https://github.com/highslide-software/highcharts.com/issues/4045
答案 1 :(得分:0)
我这样做了:
chart = new Highcharts.Chart({
chart: {
renderTo: 'first_graph',
type: 'scatter',
backgroundColor: '#fdfdfd',
height:800,
events:{
click: function(event){
if (this.hoverPoint!=null){
alert('Hi!');
}
}
}