# HG changeset patch # User moel.mich # Date 1370796796 0 # Node ID ac9b3b647906008a2760722bd0f4b9a7fe8a3d3b # Parent 243b6d5afa7cd8e97958589b145978d4b30f14c6 Small correction to the plot with multiple axes. diff -r 243b6d5afa7c -r ac9b3b647906 GUI/PlotPanel.cs --- a/GUI/PlotPanel.cs Sun Jun 09 16:44:19 2013 +0000 +++ b/GUI/PlotPanel.cs Sun Jun 09 16:53:16 2013 +0000 @@ -227,13 +227,14 @@ var type = pair.Key; axis.StartPosition = 0; axis.EndPosition = 1; - axis.PositionTier = tier; + axis.PositionTier = axis.IsAxisVisible ? tier : 0; if (axis.IsAxisVisible) tier++; axis.MajorGridlineStyle = LineStyle.None; axis.MinorGridlineStyle = LineStyle.None; } } + } public void InvalidatePlot() {