Changeset 12676 for trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs
- Timestamp:
- 07/08/15 12:53:55 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/DataPreprocessingImprovements/HeuristicLab.DataPreprocessing.Views merged eligible /stable/HeuristicLab.DataPreprocessing.Views merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.DataPreprocessing.Views 10321-10322 /branches/Algorithms.GradientDescent/HeuristicLab.DataPreprocessing.Views 5516-5520 /branches/Benchmarking/sources/HeuristicLab.DataPreprocessing.Views 6917-7005 /branches/CloningRefactoring/HeuristicLab.DataPreprocessing.Views 4656-4721 /branches/CodeEditor/HeuristicLab.DataPreprocessing.Views 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.DataPreprocessing.Views 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.DataPreprocessing.Views 5815-6180 /branches/DataAnalysis/HeuristicLab.DataPreprocessing.Views 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.DataPreprocessing.Views 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.DataPreprocessing.Views 5060 /branches/HLScript/HeuristicLab.DataPreprocessing.Views 10331-10358 /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.DataPreprocessing.Views 11570-12508 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.DataPreprocessing.Views 6123-9799 /branches/LogResidualEvaluator/HeuristicLab.DataPreprocessing.Views 10202-10483 /branches/NET40/sources/HeuristicLab.DataPreprocessing.Views 5138-5162 /branches/NSGA-II Changes/HeuristicLab.DataPreprocessing.Views 12033-12122 /branches/ParallelEngine/HeuristicLab.DataPreprocessing.Views 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.DataPreprocessing.Views 7568-7810 /branches/QAPAlgorithms/HeuristicLab.DataPreprocessing.Views 6350-6627 /branches/Restructure trunk solution/HeuristicLab.DataPreprocessing.Views 6828 /branches/RuntimeOptimizer/HeuristicLab.DataPreprocessing.Views 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.DataPreprocessing.Views 7787-8333 /branches/SlaveShutdown/HeuristicLab.DataPreprocessing.Views 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.DataPreprocessing.Views 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.DataPreprocessing.Views 5370-5682 /branches/Trunk/HeuristicLab.DataPreprocessing.Views 6829-6865 /branches/UnloadJobs/HeuristicLab.DataPreprocessing.Views 9168-9215 /branches/VNS/HeuristicLab.DataPreprocessing.Views 5594-5752 /branches/histogram/HeuristicLab.DataPreprocessing.Views 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs
r12012 r12676 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 24 25 using System.Windows.Forms; 25 26 using HeuristicLab.Analysis; … … 49 50 50 51 public IEnumerable<double> Classification { get; set; } 52 public bool IsDetailedChartViewEnabled { get; set; } 51 53 52 54 public PreprocessingChartView() { … … 59 61 //Add or remove data row 60 62 private void CheckedItemsChanged(object sender, CollectionItemsChangedEventArgs<IndexedItem<StringValue>> checkedItems) { 63 61 64 foreach (IndexedItem<StringValue> item in checkedItems.Items) { 62 65 string variableName = item.Value.Value; … … 121 124 if (Content.VariableItemList == null) { 122 125 Content.VariableItemList = Content.CreateVariableItemList(); 126 } else { 127 var checkedNames = Content.VariableItemList.CheckedItems.Select(x => x.Value.Value); 128 Content.VariableItemList = Content.CreateVariableItemList(checkedNames); 123 129 } 124 130 checkedItemList.Content = Content.VariableItemList; … … 135 141 DataRow row = GetDataRow(variableName); 136 142 137 //add row to data table 138 dataTable.Rows.Add(row); 139 140 //add row to data table per variable 141 d.Rows.Add(row); 142 dataTablePerVariable.Add(d); 143 if (row != null) { 144 //add row to data table 145 dataTable.Rows.Add(row); 146 147 //add row to data table per variable 148 d.Rows.Add(row); 149 dataTablePerVariable.Add(d); 150 } 143 151 } 144 152 … … 152 160 dataTable.SelectedRows.Clear(); 153 161 foreach (var selectedRow in selectedDataRows) { 154 if (VariableIsDisplayed(selectedRow.Name))162 if (VariableIsDisplayed(selectedRow.Name)) 155 163 dataTable.SelectedRows.Add(selectedRow); 156 164 } … … 354 362 PreprocessingDataTableView dataView = new PreprocessingDataTableView(); 355 363 dataView.Classification = Classification; 364 dataView.IsDetailedChartViewEnabled = IsDetailedChartViewEnabled; 356 365 357 366 if (dataTable == null) {
Note: See TracChangeset
for help on using the changeset viewer.