Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/09 11:08:42 (15 years ago)
Author:
mstoeger
Message:

xaxis grid color can be set in the options dialog #555

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.Test/3.2/LineChartTests.cs

    r1884 r1885  
    7979      IDataRow row3 = new DataRow();
    8080
     81      model.XAxis.Label = "X Axis";
     82      model.XAxis.ShowLabel = true;
     83      model.XAxis.ShowGrid = true;
     84      model.XAxis.GridColor = Color.Blue;
     85
    8186      YAxisDescriptor yaxis1 = model.DefaultYAxis;
    8287      YAxisDescriptor yaxis2 = new YAxisDescriptor();
    83 
    84       model.XAxis.Label = "X Axis";
    85       model.XAxis.ShowLabel = true;
    8688
    8789      yaxis1.Label = "Y-Axis 1";
     
    130132      };
    131133
    132       f.ShowDialog();
    133     }
    134 
    135     [Test]
    136     public void TestGridX() {
    137       LineChartTestForm f = new LineChartTestForm(model);
    138       IDataRow row1 = new DataRow();
    139       model.AddDataRow(row1);
    140 
    141       model.XAxis.ShowGrid = false;
    142 
    143       Random rand = new Random(42);
    144       for (int i = 0; i < 10; i++) {
    145         row1.AddValue(rand.NextDouble() * 10);
    146       }
    147134      f.ShowDialog();
    148135    }
Note: See TracChangeset for help on using the changeset viewer.