Hi Velin,
I would love to use the MVVM example but the problem is that instead of having a Person as Category i have something closer to a full "Class", so Class0, Class1 and so on contains as a XCategory where Person0, Person1 are Series with values in all of there Classes. If that makes sense.
The question is how I do that?
So instead I have a Class that holds a Collection<DataSeries> where all the YValues, XCateogries, Brush and LegendLabel is already prepared. What I want to do now is to bind this Class and create a DataTemplate. But how do I set up a templats for this? Can I set a property on <chart:ChartDefaultView> that binds to my Collection<DataSeries>? I haven't found a way to do that so far.
The only solution right now is to create a RadChart object and bind that directly. But this seems to be both messy and problematic when it comes to show/hide Legend, Header and Pointvalues and I have to reload the whole chart.
Any suggestions on this?