Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5999 for branches/histogram


Ignore:
Timestamp:
04/10/11 07:25:03 (14 years ago)
Author:
abeham
Message:

#1470

  • Changed sorting of alleles in AlleleFrequencyCollectionView
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram/HeuristicLab.Analysis.Views/3.3/AlleleFrequencyCollectionView.cs

    r5445 r5999  
    9191      impacts.YAxisType = AxisType.Secondary;
    9292      chart.Series.Add(impacts);
    93       invisibleSeries.Add(impacts);
    9493    }
    9594
     
    113112
    114113      if (!invisibleSeries.Contains(bestKnown)) {
    115         foreach (AlleleFrequency af in Content.Where(x => x.ContainedInBestKnownSolution).OrderBy(x => x.AverageImpact)) {
     114        foreach (AlleleFrequency af in Content.Where(x => x.ContainedInBestKnownSolution).OrderBy(x => x.Id)) {
    116115          bestKnown.Points.Add(CreateDataPoint(index, af.Frequency, af));
    117116          if (!invisibleSeries.Contains(qualities)) qualities.Points.Add(CreateDataPoint(index, af.AverageSolutionQuality, af));
     
    121120      }
    122121      if (!invisibleSeries.Contains(others)) {
    123         foreach (AlleleFrequency af in Content.Where(x => !x.ContainedInBestKnownSolution).OrderBy(x => x.AverageImpact)) {
     122        foreach (AlleleFrequency af in Content.Where(x => !x.ContainedInBestKnownSolution).OrderBy(x => x.Id)) {
    124123          others.Points.Add(CreateDataPoint(index, af.Frequency, af));
    125124          if (!invisibleSeries.Contains(qualities)) qualities.Points.Add(CreateDataPoint(index, af.AverageSolutionQuality, af));
Note: See TracChangeset for help on using the changeset viewer.