- Timestamp:
- 03/03/09 20:12:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs
r1240 r1243 113 113 } 114 114 115 116 [Test] 117 public void TestSingleValueDataRows() { 118 LineChartTestForm f = new LineChartTestForm(model); 119 120 IDataRow row1 = new DataRow(); 121 IDataRow row2 = new DataRow(); 122 IDataRow row3 = new DataRow(); 123 124 row1.Color = Color.Red; 125 row2.Color = Color.Green; 126 row3.Color = Color.Blue; 127 128 row1.Thickness = 3; 129 row2.Thickness = 4; 130 row3.Thickness = 5; 131 132 row1.Label = "SingleValue"; 133 row2.Label = "Gertschi"; 134 row3.Label = "Maxi"; 135 136 row1.Style = DrawingStyle.Solid; 137 row2.Style = DrawingStyle.Solid; 138 row3.Style = DrawingStyle.Dashed; 139 140 row1.LineType = DataRowType.SingleValue; 141 row2.LineType = DataRowType.SingleValue; 142 row1.AddValue(12); 143 144 model.AddDataRow(row1); 145 model.AddDataRow(row2); 146 model.AddDataRow(row3); 147 148 149 150 row2.AddValue(5); 151 152 153 row3.AddValue(2); 154 row3.AddValue(5); 155 row3.AddValue(9); 156 row3.AddValue(1); 157 row3.AddValue(3); 158 159 160 161 162 f.ShowDialog(); 163 } 164 165 166 115 167 [Test] 116 168 public void TestMainForm() {
Note: See TracChangeset
for help on using the changeset viewer.