Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/20/10 02:44:45 (14 years ago)
Author:
swagner
Message:

Added axis labels for data tables (#925)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis/3.3/PopulationDiversityAnalyzer.cs

    r4862 r4870  
    186186          if (!results.ContainsKey("Average Minimum/Average/Maximum Solution Similarity")) {
    187187            minAvgMaxSimilarityDataTable = new DataTable("Average Minimum/Average/Maximum Solution Similarity");
    188             results.Add(new Result("Average Minimum/Average/Maximum Solution Similarity", minAvgMaxSimilarityDataTable));
     188            minAvgMaxSimilarityDataTable.VisualProperties.XAxisTitle = "Iteration";
     189            minAvgMaxSimilarityDataTable.VisualProperties.YAxisTitle = "Solution Similarity";
    189190            minAvgMaxSimilarityDataTable.Rows.Add(new DataRow("Average Minimum Solution Similarity", null));
    190191            minAvgMaxSimilarityDataTable.Rows["Average Minimum Solution Similarity"].VisualProperties.StartIndexZero = true;
     
    193194            minAvgMaxSimilarityDataTable.Rows.Add(new DataRow("Average Maximum Solution Similarity", null));
    194195            minAvgMaxSimilarityDataTable.Rows["Average Maximum Solution Similarity"].VisualProperties.StartIndexZero = true;
     196            results.Add(new Result("Average Minimum/Average/Maximum Solution Similarity", minAvgMaxSimilarityDataTable));
    195197          } else {
    196198            minAvgMaxSimilarityDataTable = (DataTable)results["Average Minimum/Average/Maximum Solution Similarity"].Value;
     
    202204          // store minimum, average, maximum similarities data table
    203205          DataTable minAvgMaxSimilaritiesDataTable = new DataTable("Minimum/Average/Maximum Solution Similarities");
     206          minAvgMaxSimilaritiesDataTable.VisualProperties.XAxisTitle = "Solution Index";
     207          minAvgMaxSimilaritiesDataTable.VisualProperties.YAxisTitle = "Solution Similarity";
    204208          minAvgMaxSimilaritiesDataTable.Rows.Add(new DataRow("Minimum Solution Similarity", null, minSimilarities));
    205209          minAvgMaxSimilaritiesDataTable.Rows["Minimum Solution Similarity"].VisualProperties.ChartType = DataRowVisualProperties.DataRowChartType.Points;
Note: See TracChangeset for help on using the changeset viewer.