Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/09 18:41:00 (15 years ago)
Author:
gkronber
Message:
  • Removed commented source lines in BubbleChart
  • Only show string, double or int attributes in the tool tip (enumerations with sub-entries are hidden)

#286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Core/3.3/ResultsEntry.cs

    r1529 r2133  
    6464      StringBuilder b = new StringBuilder();
    6565      foreach (KeyValuePair<string, object> v in values) {
    66         string val = v.Value.ToString();
    67         if (val.Length > 40) val = val.Substring(0, 38) + "...";
    68         b.Append(v.Key).Append(" = ").Append(val).AppendLine();
     66        if (v.Value is string || v.Value is double || v.Value is int) {
     67          string val = v.Value.ToString();
     68          if (val.Length > 40) val = val.Substring(0, 38) + "...";
     69          b.Append(v.Key).Append(" = ").Append(val).AppendLine();
     70        }
    6971      }
    7072      return b.ToString();
Note: See TracChangeset for help on using the changeset viewer.