Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/14 11:39:24 (10 years ago)
Author:
aesterer
Message:

Chart view refactoring

File:
1 edited

Legend:

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

    r10952 r10972  
    3636
    3737      IEnumerable<string> variables = logic.GetVariableNames();
     38
     39      // add variables to combo boxes
    3840      comboBoxXVariable.Items.Clear();
    3941      comboBoxYVariable.Items.Clear();
    40 
    4142      comboBoxXVariable.Items.AddRange(variables.ToArray());
    4243      comboBoxYVariable.Items.AddRange(variables.ToArray());
     
    5455        }
    5556      }
    56 
    5757    }
    5858
     
    7171    private void UpdateScatterPlot() {
    7272      if (comboBoxXVariable.SelectedItem != null && comboBoxYVariable.SelectedItem != null) {
     73        //get scatter plot with selected x and y variable
    7374        ScatterPlot scatterPlot = logic.CreateScatterPlot((string)comboBoxXVariable.SelectedItem, (string)comboBoxYVariable.SelectedItem);
    7475        scatterPlotView.Content = scatterPlot;
Note: See TracChangeset for help on using the changeset viewer.