I want to bind a data table that contains a list of budgets (name & value column).
I bind my data to the chart like this, and it works fine the first time.
PieSeries.ItemsSource = dataTable;
My problem, is that if I call RefreshChart() a second time, I get the following exception:
KeyNotFoundException: The given key was not present in the dictionary.
Is there something I'm not doing right?