Changeset 14029 for branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingDataTableView.cs
- Timestamp:
- 07/08/16 14:40:02 (8 years ago)
- Location:
- branches/crossvalidation-2434
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434
- Property svn:mergeinfo changed
-
branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views
-
branches/crossvalidation-2434/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingDataTableView.cs
r12676 r14029 26 26 using System.Windows.Forms; 27 27 using System.Windows.Forms.DataVisualization.Charting; 28 using HeuristicLab.Analysis; 29 using HeuristicLab.Analysis.Views; 28 30 using HeuristicLab.Collections; 29 31 using HeuristicLab.Core.Views; 30 using HeuristicLab.DataPreprocessing.Implementations;31 32 using HeuristicLab.MainForm; 32 using HeuristicLab.Analysis;33 using HeuristicLab.Analysis.Views;34 33 35 34 namespace HeuristicLab.DataPreprocessing.Views { … … 746 745 747 746 // shift the chart to the left so the bars are placed on the intervals 748 if (Classification != null || valueFrequencies.First().Item1 < doubleRange.First()) {747 if (Classification != null || (valueFrequencies.Any() && valueFrequencies.First().Item1 < doubleRange.First())) { 749 748 series.Points.Add(new DataPoint(min - intervalWidth, 0)); 750 749 series.Points.Add(new DataPoint(max + intervalWidth, 0));
Note: See TracChangeset
for help on using the changeset viewer.