ChartWindow: Upgrade to Scottplot 5

This commit is contained in:
2024-01-22 21:41:01 +01:00
parent 6cee604448
commit 3642c5ac07
4 changed files with 233 additions and 123 deletions

View File

@ -7,10 +7,11 @@
xmlns:local="clr-namespace:Elwig.Windows"
xmlns:ctrl="clr-namespace:Elwig.Controls"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:ScottPlot="clr-namespace:ScottPlot;assembly=ScottPlot.WPF"
xmlns:ScottPlot="clr-namespace:ScottPlot.WPF;assembly=ScottPlot.WPF"
mc:Ignorable="d"
Title="Auszahlung - Elwig" Height="700" Width="1500" MinWidth="1000" MinHeight="500"
Loaded="Window_Loaded">
Loaded="Window_Loaded"
Closing="Window_Closing">
<Window.Resources>
<Style TargetType="Label">
@ -88,7 +89,7 @@
</ListBox.ItemTemplate>
</ListBox>
<Button x:Name="SaveButton" Content="Speichern" IsEnabled="True"
<Button x:Name="SaveButton" Content="Speichern" IsEnabled="False"
HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="10,5,35,15" Grid.Column="0" Grid.Row="2"
Click="SaveButton_Click"/>
@ -103,7 +104,7 @@
Click="DeleteButton_Click"/>
<Grid Grid.Row="1" Grid.Column="1">
<ScottPlot:WpfPlot x:Name="OechslePricePlot" MouseMove="OechslePricePlot_MouseMove" MouseDown="OechslePricePlot_MouseDown" IsEnabled="False"/>
<ScottPlot:WpfPlot x:Name="OechslePricePlot" MouseWheel="OechslePricePlot_MouseWheel" MouseMove="OechslePricePlot_MouseMove" MouseDown="OechslePricePlot_MouseDown" IsEnabled="False"/>
</Grid>
<Grid Grid.Row="1" Grid.Column="2" Margin="0,0,5,36">