ChartWindow: Set limits to 120 Oe and 1.5 euro
This commit is contained in:
@ -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; }
|
||||
|
@ -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() {
|
||||
|
Reference in New Issue
Block a user