Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 10707 was 10658, checked in by aesterer, 11 years ago

Created base view PreprocessingChartView for LineChartView and HistogramView. Replaced HistogramLogic and LineChartlogic with ChartLogic. Added base content ChartContent for LineChartContent and HistogramContent.

File size: 1.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using HeuristicLab.Analysis;
10using HeuristicLab.Collections;
11using HeuristicLab.Core;
12using HeuristicLab.Core.Views;
13using HeuristicLab.Data;
14using HeuristicLab.MainForm;
15
16namespace HeuristicLab.DataPreprocessing.Views {
17
18  [View("Histogram View")]
19  [Content(typeof(HistogramContent), false)]
20  public partial class HistogramView : PreprocessingChartView {
21
22    private const string HISTOGRAM_CHART_TITLE = "Histogram";
23
24    public HistogramView() {
25      InitializeComponent();
26      chartType = DataRowVisualProperties.DataRowChartType.Histogram;
27      chartTitle = HISTOGRAM_CHART_TITLE;
28    }
29
30    public new HistogramContent Content {
31      get { return (HistogramContent)base.Content; }
32      set { base.Content = value; }
33    }
34
35    protected override void OnContentChanged() {
36      base.OnContentChanged();
37    }
38  }
39}
Note: See TracBrowser for help on using the repository browser.