Object does not match target type with Chart

Oct 27, 2014 at 6:49 PM
Here's a quick snippet of my code:
public ObservableDictionary<string, int> MyDict { get; set; }
<Charting:Chart Grid.Row="2"
         <Charting:LineSeries ItemsSource="{Binding MyDict}"
                              IndependentValueBinding="{Binding Key}"
                              DependentValueBinding="{Binding Value}"/>
Oct 27, 2014 at 6:55 PM
Probably IndependentValueBinding doesn't support strings?

I'm sorry, I don't typically support questions related to the charts since I didn't write the controls (ported them from Silverlight Toolkit) and it often takes a bit of debugging on your actual app to be able to figure out what's wrong. Maybe someone else could help you here if they had a similar problem. Otherwise I'd recommend doing more debugging and binggoogling or otherwise stack overflowing for help. A self contained repro project always helps too if you need someone's help.
Jan 15, 2015 at 8:43 AM
I've the same problem with equivalent code. Do you have a solution ?