ChartWindow: Set limits to 120 Oe and 1.5 euro

This commit is contained in:
2024-01-27 22:53:40 +01:00
parent 9470b26aec
commit 255953a658
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ namespace Elwig.Helpers.Billing {
public const int MinX = 50;
public const int MinXGeb = 73;
public const int MaxX = 140;
public const int MaxX = 120;
public int Id { get; set; }
public BillingData.CurveMode Mode { get; set; }

View File

@ -223,7 +223,7 @@ namespace Elwig.Windows {
//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, 2);
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);
@ -310,7 +310,7 @@ namespace Elwig.Windows {
OechslePricePlot.Plot.Axes.Rules.Clear();
OechslePricePlot.Plot.Axes.Rules.Add(BoundaryRule);
OechslePricePlot.Plot.Axes.Rules.Add(SpanRule);
OechslePricePlot.Plot.Axes.SetLimits(GraphEntry.MinX - 1, GraphEntry.MaxX + 1, -0.1, 2);
OechslePricePlot.Plot.Axes.SetLimits(GraphEntry.MinX - 1, GraphEntry.MaxX + 1, -0.1, 1.5);
}
private void UnlockZoom() {