Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10871


Ignore:
Timestamp:
05/21/14 12:48:42 (8 years ago)
Author:
mleitner
Message:

Persist Histogram classification setting, disable legend for histogram

Location:
branches/DataPreprocessing
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HistogramView.cs

    r10867 r10871  
    2424      {
    2525        logic = Content.ChartLogic;
    26         Content.AllInOneMode = false;
    27 
     26   
    2827        classifierComboBox.Items.Clear();
    2928
     
    3433        }
    3534
    36         if (classifierComboBox.SelectedIndex == -1) {
    37           classifierComboBox.SelectedIndex = 0;
     35        if (classifierComboBox.SelectedItem == null) {
     36         // classifierComboBox.SelectedIndex = 0;
     37
     38          classifierComboBox.SelectedIndex = Content.ClassifierVariableIndex;
    3839        }
    3940      }
     
    5960      }
    6061
     62      Content.ClassifierVariableIndex = classifierComboBox.SelectedIndex;
     63
    6164      GenerateChart();
    6265    }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs

    r10868 r10871  
    651651    private void ToggleSeriesVisible(Series series)
    652652    {
     653
     654      if (!Content.Rows.Any(x => x.Name == series.Name))
     655        return;
     656
    653657      if (!invisibleSeries.Contains(series))
    654658      {
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/HistogramContent.cs

    r10771 r10871  
    2828  public class HistogramContent : PreprocessingChartContent {
    2929
     30    private int classifierVariableIndex = 0;
     31
    3032    public HistogramContent(IChartLogic chartlogic) :base(chartlogic) {
     33      AllInOneMode = false;
    3134    }
    3235
     
    3538
    3639    }
     40
     41    public int ClassifierVariableIndex
     42    {
     43      get { return this.classifierVariableIndex; }
     44      set { this.classifierVariableIndex = value; }
     45    }
     46
    3747
    3848    public static new Image StaticItemImage {
Note: See TracChangeset for help on using the changeset viewer.