|
|
|
@ -0,0 +1,23 @@ |
|
|
|
|
<UserControl x:Class="GettingStarted.Views.MainViewControl2" |
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
|
xmlns:local="clr-namespace:GettingStarted.Views" |
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
|
|
xmlns:oxyControls="http://oxyplot.org/wpf/contrib" |
|
|
|
|
xmlns:viewModels="clr-namespace:GettingStarted.ViewModels" |
|
|
|
|
d:DesignHeight="450" |
|
|
|
|
d:DesignWidth="800" |
|
|
|
|
mc:Ignorable="d"> |
|
|
|
|
<UserControl.DataContext> |
|
|
|
|
<viewModels:MainViewModel2 /> |
|
|
|
|
</UserControl.DataContext> |
|
|
|
|
|
|
|
|
|
<Grid> |
|
|
|
|
<oxyControls:Plot Title="{Binding Title}"> |
|
|
|
|
<oxyControls:Plot.Series> |
|
|
|
|
<oxyControls:LineSeries ItemsSource="{Binding Points}" /> |
|
|
|
|
</oxyControls:Plot.Series> |
|
|
|
|
</oxyControls:Plot> |
|
|
|
|
</Grid> |
|
|
|
|
</UserControl> |