Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/03/11 19:52:35 (13 years ago)
Author:
abeham
Message:

#1465

  • Added new interface IConfigureableView to HeuristicLab.MainForm
  • Adapted ViewHost to show a configuration button when its ActiveView is of type IConfigureableView
  • Changed DataTableHistoryView to be an IConfigureableView
  • When changing the configuration of a history view the configuration will be applied to every frame
  • Fixed a bug in calculating the histogram (when all values were the same)
  • Added preceeding and trailing 0-bar in the histogram to prevent cutting the first and last column in the view
  • Added a method Replace(IEnumerable<T>) to the ObservableList to do Clear() and AddRange() with just a single event notification
    • Calling that method from the QualityDistributionAnalyzer (otherwise the result view is flickering)
  • Fixing a bug regarding axis labels in the QualityDistributionAnalyzer
  • Removed double AfterDeserializationHook in QAP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HeuristicLab.Analysis/3.3/QualityAnalysis/QualityDistributionAnalyzer.cs

    r6013 r6115  
    9797      } else {
    9898        qualityDistribution = new DataTable("Population Quality Distribution", description);
    99         qualityDistribution.VisualProperties.XAxisTitle = IterationsParameter.ActualName;
    100         qualityDistribution.VisualProperties.YAxisTitle = QualityParameter.ActualName;
     99        qualityDistribution.VisualProperties.XAxisTitle = QualityParameter.ActualName;
     100        qualityDistribution.VisualProperties.YAxisTitle = "Frequency";
    101101        results.Add(new Result(HistogramName, description, qualityDistribution));
    102102      }
     
    108108      }
    109109      var qualities = QualityParameter.ActualValue;
    110       row.Values.Clear();
    111       row.Values.AddRange(qualities.Select(x => x.Value));
     110      row.Values.Replace(qualities.Select(x => x.Value));
    112111
    113112      if (StoreHistory) {
Note: See TracChangeset for help on using the changeset viewer.