Small correction to the plot with multiple axes.
authormoel.mich
Sun, 09 Jun 2013 16:53:16 +0000
changeset 398ac9b3b647906
parent 397 243b6d5afa7c
child 399 54048d90a678
Small correction to the plot with multiple axes.
GUI/PlotPanel.cs
     1.1 --- a/GUI/PlotPanel.cs	Sun Jun 09 16:44:19 2013 +0000
     1.2 +++ b/GUI/PlotPanel.cs	Sun Jun 09 16:53:16 2013 +0000
     1.3 @@ -227,13 +227,14 @@
     1.4            var type = pair.Key;
     1.5            axis.StartPosition = 0;
     1.6            axis.EndPosition = 1;
     1.7 -          axis.PositionTier = tier;
     1.8 +          axis.PositionTier = axis.IsAxisVisible ? tier : 0;
     1.9            if (axis.IsAxisVisible)
    1.10              tier++;
    1.11            axis.MajorGridlineStyle = LineStyle.None;
    1.12            axis.MinorGridlineStyle = LineStyle.None;          
    1.13          }
    1.14        }
    1.15 +
    1.16      }
    1.17  
    1.18      public void InvalidatePlot() {