Changeset 2133
- Timestamp:
- 07/03/09 18:41:00 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Charting/3.3/BubbleChart.cs
r2132 r2133 59 59 private Results results; 60 60 private Dictionary<IPrimitive, ResultsEntry> primitiveToEntryDictionary; 61 //private Dictionary<ResultsEntry, IList<IPrimitive>> entryToPrimitivesDictionary;62 61 private Random random = new Random(); 63 62 private Group points; … … 67 66 records = new List<ResultsEntry>(); 68 67 primitiveToEntryDictionary = new Dictionary<IPrimitive, ResultsEntry>(); 69 //entryToPrimitivesDictionary = new Dictionary<ResultsEntry, IList<IPrimitive>>();70 68 this.results = results; 71 69 … … 133 131 Group.Clear(); 134 132 primitiveToEntryDictionary.Clear(); 135 //entryToPrimitivesDictionary.Clear();136 133 points = new Group(this); 137 134 Group.Add(new Axis(this, 0, 0, AxisType.Both)); … … 213 210 if (!r.Selected) c.IntoBackground(); 214 211 primitiveToEntryDictionary[c] = r; 215 //if (!entryToPrimitivesDictionary.ContainsKey(r)) entryToPrimitivesDictionary[r] = new List<IPrimitive>();216 //entryToPrimitivesDictionary[r].Add(c);217 212 } 218 213 } -
trunk/sources/HeuristicLab.CEDMA.Core/3.3/ResultsEntry.cs
r1529 r2133 64 64 StringBuilder b = new StringBuilder(); 65 65 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 } 69 71 } 70 72 return b.ToString();
Note: See TracChangeset
for help on using the changeset viewer.