Posted 25 March 2019, 8:09 pm EST
I am trying to get the index of selected pie segment when the user clicks on the pie chart. I added the following to the on load function but the event isn’t firing when I click on the chart.
var agingChart = new wijmo.chart.FlexPie(‘#agingChart’, {});
…
agingChart.selectionChanged.addHandler(function(e)
{
alert(e.selectedIndex);
});
Thanks, Ed