Any end-to-end examples

Apr 25, 2012 at 3:42 PM

This seems like a great Silverlight charting solution. Are there any examples that show all the code for a given solution?

All I can seem to find is Ctrl-Alt-C click on the example applications. While that brings up the static code-behind-file it does not show the XAML marke-up. Perhaps I am missing something but I would like to see the complete code. Is that possible?


Thank you,

Apr 25, 2012 at 7:26 PM

see Source\Examples\Silverlight\ExampleBrowser\MainPage.xaml

The XAML is simply

<oxy:Plot Model="{Binding SelectedExample.PlotModel}" />

and create your plot model in the ViewModel. This will make your plot independent of platform, it can be viewed in winforms, silverlight, wpf, monotouch, metro (coming at some point) or html (svg).