Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HistogramView.cs @ 10811

Last change on this file since 10811 was 10771, checked in by aesterer, 10 years ago

Changed content icons. Copied data table view and removed title.

File size: 949 bytes
Line 
1using System;
2using System.Windows.Forms;
3using HeuristicLab.Analysis;
4using HeuristicLab.MainForm;
5
6namespace HeuristicLab.DataPreprocessing.Views {
7
8  [View("Histogram View")]
9  [Content(typeof(HistogramContent), true)]
10  public partial class HistogramView : PreprocessingChartView {
11
12    private const string HISTOGRAM_CHART_TITLE = "Histogram";
13
14    public HistogramView() {
15      InitializeComponent();
16      chartType = DataRowVisualProperties.DataRowChartType.Histogram;
17      chartTitle = HISTOGRAM_CHART_TITLE;
18      allInOneMode = false;
19    }
20
21    public new HistogramContent Content {
22      get { return (HistogramContent)base.Content; }
23      set { base.Content = value; }
24    }
25
26    private void allInOneCheckBox_CheckedChanged(object sender, EventArgs e) {
27      if (allInOneMode == false)
28        allInOneMode = true;
29      else
30        allInOneMode = false;
31      GenerateChart();
32    }
33
34  }
35}
Note: See TracBrowser for help on using the repository browser.