Changeset 15090 for branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/HistogramView.cs
- Timestamp:
- 06/29/17 15:18:12 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/HistogramView.cs
r15027 r15090 36 36 public HistogramView() { 37 37 InitializeComponent(); 38 aggregationComboBox.DataSource = Enum.GetValues(typeof(Data RowVisualProperties.DataRowHistogramAggregation));39 aggregationComboBox.SelectedItem = Data RowVisualProperties.DataRowHistogramAggregation.Overlapping;38 aggregationComboBox.DataSource = Enum.GetValues(typeof(DataTableVisualProperties.DataTableHistogramAggregation)); 39 aggregationComboBox.SelectedItem = DataTableVisualProperties.DataTableHistogramAggregation.Overlapping; 40 40 orderComboBox.DataSource = Enum.GetValues(typeof(PreprocessingChartContent.LegendOrder)); 41 41 orderComboBox.SelectedItem = PreprocessingChartContent.LegendOrder.Appearance; … … 57 57 58 58 protected override DataTable CreateDataTable(string variableName) { 59 var aggregation = (Data RowVisualProperties.DataRowHistogramAggregation)aggregationComboBox.SelectedItem;59 var aggregation = (DataTableVisualProperties.DataTableHistogramAggregation)aggregationComboBox.SelectedItem; 60 60 var hist = HistogramContent.CreateHistogram(Content.PreprocessingData, variableName, Content.GroupingVariableName, aggregation, Content.Order); 61 61 hist.VisualProperties.TitleFont = new Font(DefaultFont.FontFamily, 10, FontStyle.Bold); … … 73 73 private void aggregationComboBox_SelectedIndexChanged(object sender, EventArgs e) { 74 74 foreach (var dt in dataTables.Values) { 75 foreach (var row in dt.Rows) { 76 row.VisualProperties.Aggregation = (DataRowVisualProperties.DataRowHistogramAggregation)aggregationComboBox.SelectedItem; 77 } 75 dt.VisualProperties.HistogramAggregation = (DataTableVisualProperties.DataTableHistogramAggregation)aggregationComboBox.SelectedItem; 78 76 } 79 77 }
Note: See TracChangeset
for help on using the changeset viewer.