Free cookie consent management tool by TermsFeed Policy Generator

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

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

Update chart when data changed

File size: 920 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    }
19
20    public new HistogramContent Content {
21      get { return (HistogramContent)base.Content; }
22      set { base.Content = value; }
23    }
24
25    private void allInOneCheckBox_CheckedChanged(object sender, EventArgs e) {
26      if (allInOneMode == false)
27        allInOneMode = true;
28      else
29        allInOneMode = false;
30      GenerateChart();
31    }
32
33  }
34}
Note: See TracBrowser for help on using the repository browser.