Any end-to-end examples

Oystein Bjorke 4 years ago 0
This discussion was imported from CodePlex

cwford wrote at 2012-04-25 17:42:

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,


objo wrote at 2012-04-25 21:26:

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).

CodePlex