Changeset 12145 for trunk/sources
- Timestamp:
- 03/05/15 17:02:32 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/HistogramControl.cs
r12143 r12145 141 141 Series histogramSeries = new Series(point.Key); 142 142 chart.Series.Add(histogramSeries); 143 144 143 double minValue = point.Value.Min(); 145 144 double maxValue = point.Value.Max(); … … 166 165 histogramSeries["PointWidth"] = "1"; 167 166 168 CalculateDensity(histogramSeries, point.Value, bandwith);169 170 167 overallMax = Math.Max(overallMax, maxValue); 171 168 overallMin = Math.Min(overallMin, minValue); 172 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]; 178 CalculateDensity(histogramSeries, point.Value, bandwith); 179 180 i++; 181 } 182 173 183 174 184 ChartArea chartArea = chart.ChartAreas[0]; … … 209 219 210 220 Series newSeries = new Series(densitySeriesName); 221 newSeries.Color = series.Color; 211 222 newSeries.ChartType = SeriesChartType.FastLine; 212 223 newSeries.BorderWidth = 2;
Note: See TracChangeset
for help on using the changeset viewer.