Changeset 14446 for branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
- Timestamp:
- 12/02/16 15:37:51 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r14185 r14446 88 88 private void UpdateScatterPlot() { 89 89 if (comboBoxXVariable.SelectedItem != null && comboBoxYVariable.SelectedItem != null && comboBoxColor.SelectedItem != null) { 90 //get scatter plot with selected x and y variable 91 ScatterPlot scatterPlot = Content.CreateScatterPlot( 92 (string)comboBoxXVariable.SelectedItem, 93 (string)comboBoxYVariable.SelectedItem, 94 (string)comboBoxColor.SelectedItem); 95 scatterPlotView.Content = scatterPlot; 90 var xVariable = (string)comboBoxXVariable.SelectedItem; 91 var yVariable = (string)comboBoxYVariable.SelectedItem; 92 var colorVariable = (string)comboBoxColor.SelectedItem; 93 ScatterPlot scatterPlot = Content.CreateScatterPlot(xVariable, yVariable, colorVariable); 94 var vp = scatterPlot.VisualProperties; 95 vp.Title = string.Empty; 96 vp.XAxisTitle = xVariable; 97 vp.YAxisTitle = yVariable; 96 98 99 scatterPlotControl.Content = scatterPlot; 100 97 101 //save selected x and y variable in content 98 102 this.Content.SelectedXVariable = (string)comboBoxXVariable.SelectedItem;
Note: See TracChangeset
for help on using the changeset viewer.