- Timestamp:
- 12/12/08 18:13:12 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 1 1 *.suo 2 _ReSharper.HeuristicLab 3 HeuristicLab.resharper 4 HeuristicLab.resharper.user
-
- Property svn:ignore
-
trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs
r980 r983 1 using System; 1 2 using System.Drawing; 2 3 using NUnit.Framework; … … 47 48 row3.AddValue(2); 48 49 50 Random rand = new Random(); 51 52 for (int i = 0; i < 1000; i++) { 53 row1.AddValue(rand.NextDouble()*10); 54 row2.AddValue(rand.NextDouble()*10); 55 row3.AddValue(rand.NextDouble()*10); 56 } 57 58 f.ShowDialog(); 59 } 60 61 [Test] 62 public void TestAxes() { 63 LineChartTestForm f = new LineChartTestForm(); 64 65 IDataRow row1 = new DataRow(); 66 67 row1.Color = Color.Red; 68 row1.Thickness = 3; 69 row1.Style = DrawingStyle.Solid; 70 71 f.Model.AddDataRow(row1); 72 73 row1.AddValue(10); 74 row1.AddValue(5); 75 row1.AddValue(7); 76 row1.AddValue(3); 77 row1.AddValue(10); 78 row1.AddValue(2); 79 49 80 f.ShowDialog(); 50 81 }
Note: See TracChangeset
for help on using the changeset viewer.