- Timestamp:
- 07/11/15 13:37:32 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12077,12112,12116-12117,12131,12173,12458,12599,12613,12631,12672,12684,12690,12692
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Analysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Analysis.Views merged: 12173,12458
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Analysis.Views/3.3/HistogramControl.cs
r12154 r12725 139 139 if (!point.Value.Any()) continue; 140 140 141 Series histogramSeries = new Series(point.Key);142 chart.Series.Add(histogramSeries);143 141 double minValue = point.Value.Min(); 144 142 double maxValue = point.Value.Max(); 145 143 double intervalWidth = (maxValue - minValue) / bins; 146 144 if (intervalWidth <= 0) continue; 145 146 Series histogramSeries = new Series(point.Key); 147 chart.Series.Add(histogramSeries); 147 148 148 149 if (!exactCheckBox.Checked) { … … 167 168 overallMax = Math.Max(overallMax, maxValue); 168 169 overallMin = Math.Min(overallMin, minValue); 169 } 170 171 chart.ApplyPaletteColors(); 172 173 int i = 0; 174 foreach (var point in points) { 175 if (!point.Value.Any()) continue; 176 177 var histogramSeries = chart.Series[i]; 170 171 chart.ApplyPaletteColors(); 178 172 CalculateDensity(histogramSeries, point.Value, bandwith); 179 180 i++; 181 } 182 173 } 174 175 if (chart.Series.Any()) { 176 noDataLabel.Visible = false; 177 } else { 178 noDataLabel.Visible = true; 179 } 183 180 184 181 ChartArea chartArea = chart.ChartAreas[0];
Note: See TracChangeset
for help on using the changeset viewer.