Changeset 14917 for branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
- Timestamp:
- 05/03/17 16:17:12 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r14725 r14917 183 183 private void UpdateRegressionLine() { 184 184 if (Content == null) return; 185 scatterPlotControl.Content.Rows.Clear();186 185 187 186 var regressionType = (RegressionType)regressionTypeComboBox.SelectedValue; 188 187 int order = (int)polynomialRegressionOrderNumericUpDown.Value; 189 188 190 var rows = scatterPlotControl.Content.Rows.ToList(); 191 foreach (var row in rows) { 189 foreach (var row in scatterPlotControl.Content.Rows) { 192 190 row.VisualProperties.IsRegressionVisibleInLegend = false; 193 191 row.VisualProperties.RegressionType = regressionType; 194 192 row.VisualProperties.PolynomialRegressionOrder = order; 195 193 } 196 scatterPlotControl.Content.Rows.AddRange(rows);197 194 } 198 195 #endregion
Note: See TracChangeset
for help on using the changeset viewer.