- Timestamp:
- 12/26/16 08:44:31 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionLineChartViewBase.cs
r14486 r14531 253 253 } 254 254 255 p rivatevoid ToggleSeriesData(Series series) {255 public void ToggleSeriesData(Series series) { 256 256 if (series.Points.Count > 0) { //checks if series is shown 257 257 if (this.chart.Series.Any(s => s != series && s.Points.Count > 0)) { -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionResidualsLineChartView.cs
r14486 r14531 43 43 } 44 44 45 pr ivatevoid CalcResiduals(int[] idx, double[] x) {45 protected void CalcResiduals(int[] idx, double[] x) { 46 46 var problemData = Content.ProblemData; 47 47 var target = problemData.Dataset.GetDoubleValues(problemData.TargetVariable, idx).ToArray(); … … 88 88 base.chart.Series[RegressionSolutionLineChartView.ESTIMATEDVALUES_ALL_SERIES_NAME].ChartType = SeriesChartType.RangeColumn; 89 89 base.chart.Series[RegressionSolutionLineChartView.ESTIMATEDVALUES_ALL_SERIES_NAME].Points.DataBindXY(idx, res.Select(_ => 0.0).ToArray(), res); 90 ToggleSeriesData(base.chart.Series[RegressionSolutionLineChartView.ESTIMATEDVALUES_ALL_SERIES_NAME]); // don't show by default 90 91 } 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.