Ignore:
Timestamp:
07/17/15 12:34:45 (6 years ago)
Author:
abeham
Message:

#2431: minor improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionECDFView.cs

    r12771 r12774  
    163163      SuspendRepaint();
    164164      try {
     165        combinedDataTable.VisualProperties.XAxisLogScale = false;
    165166        combinedDataTable.Rows.Clear();
    166167        var table = (string)dataTableComboBox.SelectedItem;
     
    211212          foreach (var h in hits) {
    212213            total += h.Value;
    213             row.Values.Add(Tuple.Create(Math.Max(1, h.Key), total / (group.Item2.Count * levels.Length)));
     214            row.Values.Add(Tuple.Create(h.Key, total / (group.Item2.Count * levels.Length)));
    214215          }
    215216          combinedDataTable.Rows.Add(row);
    216217        }
    217218        combinedDataTable.VisualProperties.XAxisTitle = string.Join(" / ", xAxisTitles);
     219        combinedDataTable.VisualProperties.XAxisLogScale = logScalingCheckBox.Checked;
    218220      } finally { ResumeRepaint(true); }
    219221    }
     
    222224      string selectedItem = (string)groupComboBox.SelectedItem;
    223225
    224       var groupings = Content.ParameterNames.ToArray();
     226      var groupings = Content.ParameterNames.OrderBy(x => x).ToArray();
    225227      groupComboBox.Items.Clear();
    226228      groupComboBox.Items.Add(AllRuns);
Note: See TracChangeset for help on using the changeset viewer.