[#51] ChartWindow: Select 73 Oechsle per default

This commit is contained in:
2024-06-30 19:50:20 +02:00
parent 6195363335
commit d317ccc1e0

View File

@ -192,6 +192,8 @@ namespace Elwig.Windows {
ControlUtils.SelectItems(VaributeInput, SelectedGraphEntry?.Vaributes ?? []); ControlUtils.SelectItems(VaributeInput, SelectedGraphEntry?.Vaributes ?? []);
InitPlot(); InitPlot();
ChangeActiveGraph(SelectedGraphEntry?.DataGraph);
OechsleInput.Text = "73";
OechslePricePlot.IsEnabled = true; OechslePricePlot.IsEnabled = true;
FillingInputs = false; FillingInputs = false;
} }
@ -215,10 +217,6 @@ namespace Elwig.Windows {
DataPlot.Color = ColorUngebunden; DataPlot.Color = ColorUngebunden;
DataPlot.MarkerStyle = new MarkerStyle(MarkerShape.FilledCircle, 9, ColorUngebunden); DataPlot.MarkerStyle = new MarkerStyle(MarkerShape.FilledCircle, 9, ColorUngebunden);
if (SelectedGraphEntry?.GebundenGraph == null) {
ChangeActiveGraph(SelectedGraphEntry?.DataGraph);
}
OechslePricePlot.Interaction.Enable(new PlotActions() { OechslePricePlot.Interaction.Enable(new PlotActions() {
ZoomIn = StandardActions.ZoomIn, ZoomIn = StandardActions.ZoomIn,
ZoomOut = StandardActions.ZoomOut, ZoomOut = StandardActions.ZoomOut,