This question is locked. New answers and comments are not allowed.
Hi,
I have a data bound Pie Chart with single selection enabled. What I want to do is after the ItemsSource has been loaded (asynchronously) is to have the first item in the chart selected. How can I do this?
I've tried calling ChartArea.SelectItem(index) right after the data has been loaded, but the chart series and items are still not created at that point. Also tried calling SelectItem on various events (ItemDataBound, DataBound, Loaded), but to no avail.
I have a data bound Pie Chart with single selection enabled. What I want to do is after the ItemsSource has been loaded (asynchronously) is to have the first item in the chart selected. How can I do this?
I've tried calling ChartArea.SelectItem(index) right after the data has been loaded, but the chart series and items are still not created at that point. Also tried calling SelectItem on various events (ItemDataBound, DataBound, Loaded), but to no avail.