Changeset 10804 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs
- Timestamp:
- 05/07/14 10:49:15 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingDataTableView.cs
r10803 r10804 20 20 #endregion 21 21 22 using HeuristicLab.Collections;23 using HeuristicLab.Core.Views;24 using HeuristicLab.MainForm;25 22 using System; 26 23 using System.Collections.Generic; … … 29 26 using System.Windows.Forms; 30 27 using System.Windows.Forms.DataVisualization.Charting; 28 using HeuristicLab.Collections; 29 using HeuristicLab.Core.Views; 31 30 using HeuristicLab.DataPreprocessing.Implementations; 31 using HeuristicLab.MainForm; 32 32 33 33 namespace HeuristicLab.Analysis.Views { … … 172 172 else series.Color = Color.Empty; 173 173 series.IsVisibleInLegend = row.VisualProperties.IsVisibleInLegend; 174 174 175 175 switch (row.VisualProperties.ChartType) { 176 176 case DataRowVisualProperties.DataRowChartType.Line: … … 535 535 536 536 // get minimum ignores nan values 537 private double GetMinimum(IEnumerable<double> values) 538 { 537 private double GetMinimum(IEnumerable<double> values) { 539 538 double min = Double.MaxValue; 540 539 541 540 foreach (double value in values) { 542 541 if (!Double.IsNaN(value) && value < min) 543 min = value; 542 min = value; 544 543 } 545 544 return min;
Note: See TracChangeset
for help on using the changeset viewer.