如何在泡泡中添加气泡事件higharts

如何在泡泡中添加气泡事件higharts

问题描述:

如何为泡泡高级泡泡添加事件?如何在泡泡中添加气泡事件higharts

我从plotOptions部分不能正常工作代码https://jsfiddle.net/stachu/p4j5mng5/27/

  plotOptions: { 
       series: { 
        cursor: 'pointer', 
        point: { 
         events: { 
          click: function (event) { 
              $('#report').html(event.s); 
                 } 
         } 
        }, 
       }, 
     bubble: { 
      cursor: 'pointer', 
       minSize:2, 
       maxSize:42, 
      }, 
     }, 

代码。任何想法显示从报告div的数据?

这是一个bug它出现在5.0.1版本。使用5.0.0版本或github的最新开发版本。

<script src="https://code.highcharts.com/5.0.0/highcharts.js"></script> 
<script src="https://code.highcharts.com/5.0.0/highcharts-more.js"></script> 

https://jsfiddle.net/p4j5mng5/29/