<UserControl x:Class="SyncTrayzor.Pages.Tray.NetworkGraphView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:s="https://github.com/canton7/Stylet"
             xmlns:local="clr-namespace:SyncTrayzor.Pages.Tray"
             xmlns:oxy="http://oxyplot.org/wpf"
             mc:Ignorable="d" 
             d:DataContext="{d:DesignInstance local:NetworkGraphViewModel}"
             d:DesignHeight="300" d:DesignWidth="300"
             Height="50"
             Visibility="{Binding ShowGraph, Converter={x:Static s:BoolToVisibilityConverter.Instance}}">
    <DockPanel>
        <TextBlock DockPanel.Dock="Right" VerticalAlignment="Top" Margin="0,3,5,0" Foreground="DarkGray" FontSize="10" Text="{Binding MaxYValue}"/>

        <oxy:PlotView Grid.Row="0" Model="{Binding OxyPlotModel}" DefaultTrackerTemplate="{x:Null}"/>
    </DockPanel>
</UserControl>
