开发者

Using MVVM with Silverlight Toolkit charts

开发者 https://www.devze.com 2023-02-10 20:27 出处:网络
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

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消