Changeset 6750
- Timestamp:
- 09/13/11 13:58:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs
r6740 r6750 139 139 if (residuals[i] > chart.ChartAreas[0].AxisX.Maximum) { 140 140 point.XValue = chart.ChartAreas[0].AxisX.Maximum; 141 point.YValues[0] = ((double)i - 1) / residuals.Count;141 point.YValues[0] = ((double)i) / residuals.Count; 142 142 point.ToolTip = "Error: " + point.XValue + "\n" + "Samples: " + point.YValues[0]; 143 143 series.Points.Add(point); … … 146 146 147 147 point.XValue = residuals[i]; 148 point.YValues[0] = ((double)i ) / residuals.Count;148 point.YValues[0] = ((double)i+1) / residuals.Count; 149 149 point.ToolTip = "Error: " + point.XValue + "\n" + "Samples: " + point.YValues[0]; 150 150 series.Points.Add(point);
Note: See TracChangeset
for help on using the changeset viewer.