From 95927c3f1a2e2f530d1e5c177dcb338ec0022990 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Thu, 16 Jan 2025 09:09:28 +0100 Subject: [PATCH] ChartWindow: Remove old commented-out code --- Elwig/Windows/ChartWindow.xaml.cs | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/Elwig/Windows/ChartWindow.xaml.cs b/Elwig/Windows/ChartWindow.xaml.cs index 36ce549..bc81b7e 100644 --- a/Elwig/Windows/ChartWindow.xaml.cs +++ b/Elwig/Windows/ChartWindow.xaml.cs @@ -225,30 +225,8 @@ namespace Elwig.Windows { DataPlot.Color = ColorUngebunden; DataPlot.MarkerStyle = new MarkerStyle(MarkerShape.FilledCircle, 9, ColorUngebunden); - //OechslePricePlot.Interaction.Enable(new PlotActions() { - // ZoomIn = StandardActions.ZoomIn, - // ZoomOut = StandardActions.ZoomOut, - // PanUp = StandardActions.PanUp, - // PanDown = StandardActions.PanDown, - // PanLeft = StandardActions.PanLeft, - // PanRight = StandardActions.PanRight, - // DragPan = StandardActions.DragPan, - // DragZoom = StandardActions.DragZoom, - // DragZoomRectangle = StandardActions.DragZoomRectangle, - // ZoomRectangleClear = StandardActions.ZoomRectangleClear, - // ZoomRectangleApply = StandardActions.ZoomRectangleApply, - // AutoScale = StandardActions.AutoScale, - //}); - - //OechslePricePlot.Plot.XAxis.ManualTickSpacing(1); - //OechslePricePlot.Plot.YAxis.ManualTickSpacing(0.1); OechslePricePlot.Plot.Axes.SetLimits(Math.Min(GraphEntry.MinX, GraphEntry.MinXGeb) - 1, GraphEntry.MaxX + 1, -0.1, 1.5); - //OechslePricePlot.Plot.Layout(padding: 0); - //OechslePricePlot.Plot.XAxis2.Layout(padding: 0); - //OechslePricePlot.Plot.YAxis.Layout(padding: 0); - //OechslePricePlot.Plot.YAxis2.Layout(padding: 0); - HighlightedPointPlot = OechslePricePlot.Plot.Add.Marker(0, 0, MarkerShape.OpenCircle, 10, Colors.Red); HighlightedPointPlot.IsVisible = false;