Changeset 14740
- Timestamp:
- 03/09/17 14:38:04 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableControl.cs
r14582 r14740 618 618 // add data points 619 619 int j = 0; 620 int overallCount = row.Values.Count(x => !IsInvalidValue(x)); 620 621 foreach (var d in range) { 621 622 double sum = 0.0; … … 633 634 series.Points.Add(new DataPoint((double)(d - intervalCenter), sum) { 634 635 ToolTip = 635 xAxisTitle + ": [" + (d - intervalWidth) + "-" + d + ")"+ Environment.NewLine +636 yAxisTitle + ": " + sum636 string.Format("{0}: [{1} - {2})", xAxisTitle, (d - intervalWidth), d) + Environment.NewLine + 637 string.Format("{0}: {1} ({2:F2}%)", yAxisTitle, sum, sum / overallCount * 100) 637 638 }); 638 639 }
Note: See TracChangeset
for help on using the changeset viewer.