when using Angular-google-chart directive, how do you access the selected item in the pie chart?
问题 I'm using the angular-google-charts [bouil.github.io/angular-google-chart/] directive to create a pie chart. I can fire a method using this with <div google-chart chart="myChart" style="{{cssStyle}}" on-select="seriesSelected()"></div> $scope.seriesSelected = function () { console.log('item selected'); } However, I can't work out how to get the key of the selected item. I can see how to do this when using google charts without the angular directive: how to stackoverflow answer. However, I can