-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
19 lines (19 loc) · 911 Bytes
/
MainWindow.xaml
File metadata and controls
19 lines (19 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Window x:Class="ScottPlotV4MVVMDemo.MainWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ScottPlotV4MVVMDemo"
xmlns:ScottPlot="clr-namespace:ScottPlot;assembly=ScottPlot.WPF"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Window.DataContext>
<local:YourViewModel/>
</Window.DataContext>
<Grid>
<ScottPlot:WpfPlot x:Name="WpfPlot1"
Grid.Column="1"
local:WpfPlotExtensions.ItemsSource="{Binding Points}"
local:WpfPlotExtensions.Extents="{Binding Extents}" />
</Grid>
</Window>