Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/11 19:33:28 (13 years ago)
Author:
abeham
Message:

#1465

  • removed AggregatedHistogramHistoryView
  • removed Histogram and HistogramHistory data structures
  • removed HistogramView and HistogramHistoryView, but left the HistogramControl
  • adapted the QualityDistributionAnalyzer to create a DataTable instead
  • added a StoreHistory parameter
  • adapted the temporary test project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HistogramViewTest/Form1.cs

    r5961 r6013  
    66namespace HistogramViewTest {
    77  public partial class Form1 : Form {
    8     private HistogramView view;
     8    private DataTableView view;
    99
    1010    public Form1() {
    1111      InitializeComponent();
    12       view = new HistogramView();
    13       Histogram hist = new Histogram();
     12      view = new DataTableView();
     13      DataTable hist = new DataTable("TestTable");
     14      DataRow row = new DataRow("Test");
     15      row.VisualProperties.ChartType = DataRowVisualProperties.DataRowChartType.Histogram;
    1416      Random rand = new Random();
    1517      for (int index = 1; index < 100; index++) {
    16         hist.Values.Add(rand.Next(1, 1000));
     18        row.Values.Add(rand.Next(1, 1000));
    1719      }
     20      hist.Rows.Add(row);
    1821      view.Content = hist;
     22      view.Dock = DockStyle.Fill;
    1923      Controls.Add(view);
    2024    }
Note: See TracChangeset for help on using the changeset viewer.