Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/10 21:10:46 (14 years ago)
Author:
gkronber
Message:

Implemented reviewer comments. #893 (HeuristicLab 3.3.0 application review)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/ScatterPlotView.cs

    r3707 r3710  
    122122
    123123    private void UpdateCursorInterval() {
    124       var estimatedValues = this.chart.Series[ALL_SERIES].Points.Select(x => x.YValues[0]).DefaultIfEmpty(1.0);
    125       var targetValues = this.chart.Series[ALL_SERIES].Points.Select(x => x.YValues[1]).DefaultIfEmpty(1.0);
     124      var estimatedValues = this.chart.Series[ALL_SERIES].Points.Select(x => x.XValue).DefaultIfEmpty(1.0);
     125      var targetValues = this.chart.Series[ALL_SERIES].Points.Select(x => x.YValues[0]).DefaultIfEmpty(1.0);
    126126      double estimatedValuesRange = estimatedValues.Max() - estimatedValues.Min();
    127127      double targetValuesRange = targetValues.Max() - targetValues.Min();
     
    170170      this.chart.Series[ALL_SERIES].Points.Clear();
    171171      this.chart.Series[TRAINING_SERIES].Points.Clear();
    172       this.chart.Series[TEST_SERIES].Points.Clear();     
     172      this.chart.Series[TEST_SERIES].Points.Clear();
    173173    }
    174174
Note: See TracChangeset for help on using the changeset viewer.