From d317ccc1e05507a9027bad0ebf4ffc67506be0df Mon Sep 17 00:00:00 2001 From: Thomas Hilscher Date: Sun, 30 Jun 2024 19:50:20 +0200 Subject: [PATCH] [#51] ChartWindow: Select 73 Oechsle per default --- Elwig/Windows/ChartWindow.xaml.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Elwig/Windows/ChartWindow.xaml.cs b/Elwig/Windows/ChartWindow.xaml.cs index e64715f..e5dc980 100644 --- a/Elwig/Windows/ChartWindow.xaml.cs +++ b/Elwig/Windows/ChartWindow.xaml.cs @@ -192,6 +192,8 @@ namespace Elwig.Windows { ControlUtils.SelectItems(VaributeInput, SelectedGraphEntry?.Vaributes ?? []); InitPlot(); + ChangeActiveGraph(SelectedGraphEntry?.DataGraph); + OechsleInput.Text = "73"; OechslePricePlot.IsEnabled = true; FillingInputs = false; } @@ -215,10 +217,6 @@ namespace Elwig.Windows { DataPlot.Color = ColorUngebunden; DataPlot.MarkerStyle = new MarkerStyle(MarkerShape.FilledCircle, 9, ColorUngebunden); - if (SelectedGraphEntry?.GebundenGraph == null) { - ChangeActiveGraph(SelectedGraphEntry?.DataGraph); - } - OechslePricePlot.Interaction.Enable(new PlotActions() { ZoomIn = StandardActions.ZoomIn, ZoomOut = StandardActions.ZoomOut,