Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/15 12:53:55 (9 years ago)
Author:
mkommend
Message:

#2335: Merged changes into trunk.

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.Viewsmergedeligible
      /stable/HeuristicLab.DataPreprocessing.Viewsmergedeligible
      /branches/1721-RandomForestPersistence/HeuristicLab.DataPreprocessing.Views10321-10322
      /branches/Algorithms.GradientDescent/HeuristicLab.DataPreprocessing.Views5516-5520
      /branches/Benchmarking/sources/HeuristicLab.DataPreprocessing.Views6917-7005
      /branches/CloningRefactoring/HeuristicLab.DataPreprocessing.Views4656-4721
      /branches/CodeEditor/HeuristicLab.DataPreprocessing.Views11700-11806
      /branches/DataAnalysis Refactoring/HeuristicLab.DataPreprocessing.Views5471-5808
      /branches/DataAnalysis SolutionEnsembles/HeuristicLab.DataPreprocessing.Views5815-6180
      /branches/DataAnalysis/HeuristicLab.DataPreprocessing.Views4458-4459,​4462,​4464
      /branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views10085-11101
      /branches/GP.Grammar.Editor/HeuristicLab.DataPreprocessing.Views6284-6795
      /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.DataPreprocessing.Views5060
      /branches/HLScript/HeuristicLab.DataPreprocessing.Views10331-10358
      /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.DataPreprocessing.Views11570-12508
      /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.DataPreprocessing.Views6123-9799
      /branches/LogResidualEvaluator/HeuristicLab.DataPreprocessing.Views10202-10483
      /branches/NET40/sources/HeuristicLab.DataPreprocessing.Views5138-5162
      /branches/NSGA-II Changes/HeuristicLab.DataPreprocessing.Views12033-12122
      /branches/ParallelEngine/HeuristicLab.DataPreprocessing.Views5175-5192
      /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.DataPreprocessing.Views7568-7810
      /branches/QAPAlgorithms/HeuristicLab.DataPreprocessing.Views6350-6627
      /branches/Restructure trunk solution/HeuristicLab.DataPreprocessing.Views6828
      /branches/RuntimeOptimizer/HeuristicLab.DataPreprocessing.Views8943-9078
      /branches/ScatterSearch (trunk integration)/HeuristicLab.DataPreprocessing.Views7787-8333
      /branches/SlaveShutdown/HeuristicLab.DataPreprocessing.Views8944-8956
      /branches/SpectralKernelForGaussianProcesses/HeuristicLab.DataPreprocessing.Views10204-10479
      /branches/SuccessProgressAnalysis/HeuristicLab.DataPreprocessing.Views5370-5682
      /branches/Trunk/HeuristicLab.DataPreprocessing.Views6829-6865
      /branches/UnloadJobs/HeuristicLab.DataPreprocessing.Views9168-9215
      /branches/VNS/HeuristicLab.DataPreprocessing.Views5594-5752
      /branches/histogram/HeuristicLab.DataPreprocessing.Views5959-6341
  • trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingChartView.cs

    r12012 r12676  
    2222using System;
    2323using System.Collections.Generic;
     24using System.Linq;
    2425using System.Windows.Forms;
    2526using HeuristicLab.Analysis;
     
    4950
    5051    public IEnumerable<double> Classification { get; set; }
     52    public bool IsDetailedChartViewEnabled { get; set; }
    5153
    5254    public PreprocessingChartView() {
     
    5961    //Add or remove data row
    6062    private void CheckedItemsChanged(object sender, CollectionItemsChangedEventArgs<IndexedItem<StringValue>> checkedItems) {
     63
    6164      foreach (IndexedItem<StringValue> item in checkedItems.Items) {
    6265        string variableName = item.Value.Value;
     
    121124      if (Content.VariableItemList == null) {
    122125        Content.VariableItemList = Content.CreateVariableItemList();
     126      } else {
     127        var checkedNames = Content.VariableItemList.CheckedItems.Select(x => x.Value.Value);
     128        Content.VariableItemList = Content.CreateVariableItemList(checkedNames);
    123129      }
    124130      checkedItemList.Content = Content.VariableItemList;
     
    135141        DataRow row = GetDataRow(variableName);
    136142
    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        }
    143151      }
    144152
     
    152160      dataTable.SelectedRows.Clear();
    153161      foreach (var selectedRow in selectedDataRows) {
    154         if(VariableIsDisplayed(selectedRow.Name))
     162        if (VariableIsDisplayed(selectedRow.Name))
    155163          dataTable.SelectedRows.Add(selectedRow);
    156164      }
     
    354362      PreprocessingDataTableView dataView = new PreprocessingDataTableView();
    355363      dataView.Classification = Classification;
     364      dataView.IsDetailedChartViewEnabled = IsDetailedChartViewEnabled;
    356365
    357366      if (dataTable == null) {
Note: See TracChangeset for help on using the changeset viewer.