Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/14 15:06:24 (10 years ago)
Author:
rstoll
Message:
  • removed ChartLogic and

moved logic accordingly to PreprocessingChartContent, ScatterPlotContent
modified views etc. to use IFilteredPreprocessingData instead of ChartLogic

  • reordered code
File:
1 edited

Legend:

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

    r10942 r10992  
    1818 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    1919 */
    20 #endregion 
     20#endregion
    2121using System;
    2222using System.Windows.Forms;
     
    4040      base.OnContentChanged();
    4141      if (Content != null) {
    42         logic = Content.ChartLogic;
    4342
    4443        classifierComboBox.Items.Clear();
    4544        classifierComboBox.Items.Add("None");
    4645
    47         foreach (string var in logic.GetVariableNamesForHistogramClassification()) {
     46        foreach (string var in Content.GetVariableNamesForHistogramClassification()) {
    4847          classifierComboBox.Items.Add(var);
    4948        }
     
    6665
    6766      if (classifierComboBox.SelectedIndex != 0) {
    68         Classification = logic.GetVariableValues(classifierComboBox.SelectedItem.ToString());
     67        int columndIndex = Content.PreprocessingData.GetColumnIndex(classifierComboBox.SelectedItem.ToString());
     68        Classification = Content.PreprocessingData.GetValues<double>(columndIndex);
    6969      } else {
    7070        Classification = null;
Note: See TracChangeset for help on using the changeset viewer.