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开发者_如何学C ViewMode. I suppose I should have one view model for each series in my chart: am I wrong ? What should I do instead ?
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!
精彩评论