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,