Changeset 15672
- Timestamp:
- 01/30/18 13:14:25 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBoxPlotView.cs
r15623 r15672 401 401 402 402 private void SetCustomAxisLabels(Axis axis, int dimension) { 403 if (Content == null) { return; } 404 if (!Content.Any()) { return; } 405 403 406 axis.CustomLabels.Clear(); 404 407 if (categoricalMapping.ContainsKey(dimension)) { … … 417 420 position++; 418 421 } 419 } else if (dimension > 0 && Content != null && Content.Count > 0 && Content.GetValue(0, dimension) is TimeSpanValue) {422 } else if (dimension > 0 && Content.GetValue(0, dimension) is TimeSpanValue) { 420 423 this.chart.ChartAreas[0].RecalculateAxesScale(); 421 424 Axis correspondingAxis = this.chart.ChartAreas[0].Axes.Where(x => x.Name == axis.Name).SingleOrDefault();
Note: See TracChangeset
for help on using the changeset viewer.