Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Visualization/ChartDataRowsModelDummy.cs @ 754

Last change on this file since 754 was 754, checked in by dwagner, 16 years ago

#345 First implementation of LineChart

File size: 526 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace HeuristicLab.Visualization{
7  public class ChartDataRowsModelDummy : ChartDataRowsModel  {
8    public ChartDataRowsModelDummy(){
9      Random rand = new Random();
10
11   
12      // test rows
13      for (int i = 0; i < 10; i++){
14        AddDataRow(i);
15        PushData(i, rand.NextDouble() * 1000);
16        PushData(i, rand.NextDouble() * 1000);
17        PushData(i, rand.NextDouble() * 1000);
18      }
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.