Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/29/17 16:07:31 (7 years ago)
Author:
gkronber
Message:

#2695: removed commented code and unused usings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dataset-ids-2695/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionLineChartViewBase.cs

    r15297 r15298  
    2020#endregion
    2121using System;
    22 using System.Collections;
    23 using System.Collections.Generic;
    2422using System.Drawing;
    25 using System.Globalization;
    2623using System.Linq;
    2724using System.Windows.Forms;
    2825using System.Windows.Forms.DataVisualization.Charting;
    29 using HeuristicLab.Common;
    3026using HeuristicLab.MainForm;
    3127using HeuristicLab.Visualization.ChartControlsExtensions;
     
    8076
    8177        for (int i = 0; i < ids.Length; i++) {
    82           chart.Series[TARGETVARIABLE_SERIES_NAME].Points.Add(new DataPoint() { AxisLabel = ids[i], XValue = i, YValues = new double[] { vals[i] } });
    83         }
    84         // this.chart.Series[TARGETVARIABLE_SERIES_NAME].Points.DataBindXY(Content.ProblemData.AllIndices.ToArray(),
    85         //   Content.ProblemData.Dataset.GetDoubleValues(Content.ProblemData.TargetVariable).ToArray());
    86         // chart.Series[TARGETVARIABLE_SERIES_NAME].Points.DataBindXY(Content.ProblemData.AllIndices.ToArray(),
    87         //   "AxisLabel", Content.ProblemData.AllIds.OfType<object>().Select(o => o.ToString()).ToArray(), string.Empty);
    88         // training series
     78          chart.Series[TARGETVARIABLE_SERIES_NAME].Points.Add(new DataPoint()
     79          {
     80            AxisLabel = ids[i], XValue = i, YValues = new double[] { vals[i] }
     81          });
     82        }
    8983        this.chart.Series.Add(ESTIMATEDVALUES_TRAINING_SERIES_NAME);
    9084        this.chart.Series[ESTIMATEDVALUES_TRAINING_SERIES_NAME].LegendText = ESTIMATEDVALUES_TRAINING_SERIES_NAME;
Note: See TracChangeset for help on using the changeset viewer.