Hi
I have a pie and a column chart where when i select a data point another activity is opened. When i use the back button to go back to the chart the data point is still selected. If i try to set SelectedDataPointIndex to -1, which is the value it has before anything is selected, i get an index out of bounds exception.
I could make a bunch of workarounds to achieve the behaviour i want (if you just remove the visuals of the selection, and the user selects the same data point again, it is technically a deselection, which must also be handled accordingly), but it would be much easier and especially cleaner to just deselect the data point. Is there a way to do this?