Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/08 18:13:12 (16 years ago)
Author:
mstoeger
Message:

Added XAxis shape to project (#433)
Some small refactorings in LineChart (#345)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources

    • Property svn:ignore
      •  

        old new  
        11*.suo
         2_ReSharper.HeuristicLab
         3HeuristicLab.resharper
         4HeuristicLab.resharper.user
  • trunk/sources/HeuristicLab.Visualization.Test/LineChartTests.cs

    r980 r983  
     1using System;
    12using System.Drawing;
    23using NUnit.Framework;
     
    4748      row3.AddValue(2);
    4849
     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
    4980      f.ShowDialog();
    5081    }
Note: See TracChangeset for help on using the changeset viewer.