- Timestamp:
- 06/16/15 14:36:10 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/HistogramControl.cs
r12173 r12458 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) { … … 172 173 } 173 174 175 if (chart.Series.Any()) { 176 noDataLabel.Visible = false; 177 } else { 178 noDataLabel.Visible = true; 179 } 180 174 181 ChartArea chartArea = chart.ChartAreas[0]; 175 182 // don't show grid lines for second y-axis
Note: See TracChangeset
for help on using the changeset viewer.