Changeset 10972 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/SingleScatterPlotView.cs
- Timestamp:
- 06/11/14 11:39:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/SingleScatterPlotView.cs
r10952 r10972 36 36 37 37 IEnumerable<string> variables = logic.GetVariableNames(); 38 39 // add variables to combo boxes 38 40 comboBoxXVariable.Items.Clear(); 39 41 comboBoxYVariable.Items.Clear(); 40 41 42 comboBoxXVariable.Items.AddRange(variables.ToArray()); 42 43 comboBoxYVariable.Items.AddRange(variables.ToArray()); … … 54 55 } 55 56 } 56 57 57 } 58 58 … … 71 71 private void UpdateScatterPlot() { 72 72 if (comboBoxXVariable.SelectedItem != null && comboBoxYVariable.SelectedItem != null) { 73 //get scatter plot with selected x and y variable 73 74 ScatterPlot scatterPlot = logic.CreateScatterPlot((string)comboBoxXVariable.SelectedItem, (string)comboBoxYVariable.SelectedItem); 74 75 scatterPlotView.Content = scatterPlot;
Note: See TracChangeset
for help on using the changeset viewer.