To start with, our project is based on clear MVVM, so we don't want to write any code behind.
Now, we need to present a collection of data, but the number of series is unknown. GroupBy seems to work fine, but our data collection changes often, so using grouping as a resource appears to be a problem.
I've prepared a sample project which illustrates what I'd like to achieve. Broadly speaking, I'd like to be able to refresh data in the chart after collection of data is reloaded.
Is XamDataChart useful in this scenario?
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Hello Stefan.
Thank you very much for your answer. I'm currently testing the solution. It's very helpful and works as I expected.
I wonder now if it's possible to set the DataContext in code-behind?
I will appreciate any suggestions.
Luk