點擊事件:this
pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true, format: '<b>{point.name}</b>: {point.percentage:.1f} %', style: { color: (ReactHighcharts.theme && ReactHighcharts.theme.contrastTextColor) || 'black' } } , events: { click: function (e) { var t=this.data[event.point.x].name;//獲取到對應的data裏面的值,進行邏輯操做 console.log(t); } } }