Changeset 1885 for trunk/sources/HeuristicLab.Visualization.Test
- Timestamp:
- 05/23/09 11:08:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/3.2/LineChartTests.cs
r1884 r1885 79 79 IDataRow row3 = new DataRow(); 80 80 81 model.XAxis.Label = "X Axis"; 82 model.XAxis.ShowLabel = true; 83 model.XAxis.ShowGrid = true; 84 model.XAxis.GridColor = Color.Blue; 85 81 86 YAxisDescriptor yaxis1 = model.DefaultYAxis; 82 87 YAxisDescriptor yaxis2 = new YAxisDescriptor(); 83 84 model.XAxis.Label = "X Axis";85 model.XAxis.ShowLabel = true;86 88 87 89 yaxis1.Label = "Y-Axis 1"; … … 130 132 }; 131 133 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 }147 134 f.ShowDialog(); 148 135 }
Note: See TracChangeset
for help on using the changeset viewer.