Changeset 1061
- Timestamp:
- 12/25/08 11:14:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/ChartDataRowsModel.cs
r979 r1061 4 4 using System.Xml; 5 5 using HeuristicLab.Core; 6 using System.Text; 6 7 7 8 namespace HeuristicLab.Visualization{ … … 140 141 columnElement.Attributes.Append(idAttr); 141 142 143 StringBuilder builder = new StringBuilder(); 144 142 145 for (int i = 0; i < row.Count; i++) { 143 146 if (i == 0) { 144 columnElement.InnerText += row[i].ToString(CultureInfo.InvariantCulture.NumberFormat); 147 builder.Append(row[i].ToString(CultureInfo.InvariantCulture.NumberFormat)); 148 //columnElement.InnerText += row[i].ToString(CultureInfo.InvariantCulture.NumberFormat); 145 149 } else { 146 columnElement.InnerText += ";" + row[i].ToString(CultureInfo.InvariantCulture.NumberFormat); 150 builder.Append(";" + row[i].ToString(CultureInfo.InvariantCulture.NumberFormat)); 151 //columnElement.InnerText += ";" + row[i].ToString(CultureInfo.InvariantCulture.NumberFormat); 147 152 } 148 153 } 154 columnElement.InnerText += builder.ToString(); 149 155 node.AppendChild(columnElement); 150 156 }
Note: See TracChangeset
for help on using the changeset viewer.