2015-04-02 87 views
0

我正在使用Highcharts-3d v.4.1.4構建圖表,並且點擊不起作用 - plotOptions.scatter.point.events.click。我使用IE8.0.7601.17514和jQuery 1.11.0。圖表在鉻和ie11中工作得很好。Highcharts 3d分散點擊不起作用

作爲例子,我拿this

 plotOptions: { 
     scatter: { 
      width: 10, 
      height: 10, 
      depth: 10, 
      point:{ 
       events:{ 
        click: function(event){ 
         alert('hello'); 
        } 
       } 
      } 
     } 
    }, 

回答

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!'); 
       } 
      } 
     }