You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.0 KiB

12 months ago
<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>