- Timestamp:
- 03/27/09 20:23:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs
r1458 r1462 70 70 f.ShowDialog(); 71 71 } 72 72 73 73 [Test] 74 74 public void TestAxes() { … … 82 82 YAxisDescriptor yaxis2 = new YAxisDescriptor(); 83 83 84 model.XAxisLabel = "X Axis"; 85 model.ShowXAxisLabel = true; 86 84 87 yaxis1.Label = "Y-Axis 1"; 88 yaxis1.ShowYAxisLabel = true; 89 yaxis1.Position = AxisPosition.Left; 90 yaxis1.ShowGrid = true; 91 yaxis1.GridColor = Color.Gray; 92 85 93 yaxis2.Label = "Y-Axis 2"; 86 87 yaxis1.Position = AxisPosition.Left; 94 yaxis2.ShowYAxisLabel = true; 88 95 yaxis2.Position = AxisPosition.Right; 89 90 yaxis1.ShowGrid = true;91 96 yaxis2.ShowGrid = false; 92 93 yaxis1.GridColor = Color.Gray;94 97 95 98 row1.Color = Color.Red; … … 108 111 row3.Label = "Die Blaue"; 109 112 row3.YAxis = yaxis2; 110 row3.YAxis.Label = "Die Blaue";111 113 112 114 model.AddDataRow(row1); 113 115 model.AddDataRow(row2); 114 116 model.AddDataRow(row3); 115 116 row1.YAxis.Label = "Rot und Grün";117 117 118 118 Random rand = new Random(42);
Note: See TracChangeset
for help on using the changeset viewer.