Last change
on this file since 6212 was
6013,
checked in by abeham, 14 years ago
|
#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 size:
765 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Windows.Forms;
|
---|
3 | using HeuristicLab.Analysis;
|
---|
4 | using HeuristicLab.Analysis.Views;
|
---|
5 |
|
---|
6 | namespace HistogramViewTest {
|
---|
7 | public partial class Form1 : Form {
|
---|
8 | private DataTableView view;
|
---|
9 |
|
---|
10 | public Form1() {
|
---|
11 | InitializeComponent();
|
---|
12 | view = new DataTableView();
|
---|
13 | DataTable hist = new DataTable("TestTable");
|
---|
14 | DataRow row = new DataRow("Test");
|
---|
15 | row.VisualProperties.ChartType = DataRowVisualProperties.DataRowChartType.Histogram;
|
---|
16 | Random rand = new Random();
|
---|
17 | for (int index = 1; index < 100; index++) {
|
---|
18 | row.Values.Add(rand.Next(1, 1000));
|
---|
19 | }
|
---|
20 | hist.Rows.Add(row);
|
---|
21 | view.Content = hist;
|
---|
22 | view.Dock = DockStyle.Fill;
|
---|
23 | Controls.Add(view);
|
---|
24 | }
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.