Posted 24 October 2019, 8:31 pm EST
I have a bar chart with 2 series. When someone clicks on a bar in the chart I want to get the index and the series clicked on. I am able to get the index with this code:
receiptsChart.selectionChanged.addHandler(function (e) {
var selectionIndex = e._selectionIndex
});
but I haven’t been able to figure out how to get the series selected in this event. I have my selection mode set as follows:
receiptsChart.selectionMode = wijmo.chart.SelectionMode.Point;
Thanks for your help. Ed