Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/17 16:17:12 (7 years ago)
Author:
pfleck
Message:

#2709

  • Use the new icons for PreprocessingCheckedVariablesView (linechart, histogram).
  • Added a "lock aspect ratio" sizing for the multi scatter plot.
  • Fixed a bug in single scatter plot when changing the regression line.
File:
1 edited

Legend:

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

    r14725 r14917  
    183183    private void UpdateRegressionLine() {
    184184      if (Content == null) return;
    185       scatterPlotControl.Content.Rows.Clear();
    186185
    187186      var regressionType = (RegressionType)regressionTypeComboBox.SelectedValue;
    188187      int order = (int)polynomialRegressionOrderNumericUpDown.Value;
    189188
    190       var rows = scatterPlotControl.Content.Rows.ToList();
    191       foreach (var row in rows) {
     189      foreach (var row in scatterPlotControl.Content.Rows) {
    192190        row.VisualProperties.IsRegressionVisibleInLegend = false;
    193191        row.VisualProperties.RegressionType = regressionType;
    194192        row.VisualProperties.PolynomialRegressionOrder = order;
    195193      }
    196       scatterPlotControl.Content.Rows.AddRange(rows);
    197194    }
    198195    #endregion
Note: See TracChangeset for help on using the changeset viewer.