Using MVVM with Silverlight Toolkit charts

598 Views Asked by At

I'm trying to learn MVVM with Caliburn.Micro. My exercise is to have a view represented by a page containing a chart from SIlverlight Toolkit. I have a backing ViewModel, but now I've no idea on how to bind a collection of series to a collection of ViewMode. I suppose I should have one view model for each series in my chart: am I wrong ? What should I do instead ?

1

There are 1 best solutions below

1
On BEST ANSWER

You might want to check out my Telemetry Example over at code project. I wrote it using Visiblox Charts, but it should still be appropriate if you have to use the Toolkit charts.

It outlines how to use the MVVM architecture using Silverlight. The code is released under the The Code Project Open License (CPOL), so you are free to adapt it for your own purposes however you want!