Changeset 7304
- Timestamp:
- 01/10/12 16:56:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r7297 r7304 189 189 if (row.VisualProperties.DisplayName.Trim() != String.Empty) series.LegendText = row.VisualProperties.DisplayName; 190 190 else series.LegendText = row.Name; 191 series.ToolTip = series.LegendText + " X = #INDEX, Y = #VAL"; 191 192 string xAxisTitle = string.IsNullOrEmpty(Content.VisualProperties.XAxisTitle) 193 ? "X" 194 : Content.VisualProperties.XAxisTitle; 195 string yAxisTitle = string.IsNullOrEmpty(Content.VisualProperties.YAxisTitle) 196 ? "Y" 197 : Content.VisualProperties.YAxisTitle; 198 series.ToolTip = 199 series.LegendText + Environment.NewLine + 200 xAxisTitle + " = " + "#INDEX," + Environment.NewLine + 201 yAxisTitle + " = " + "#VAL"; 192 202 } 193 203 … … 580 590 ++j; 581 591 } 582 series.Points.Add(new DataPoint(d - intervalCenter, sum) { ToolTip = "X: [" + (d - intervalWidth) + "-" + d + "), Y: " + sum }); 592 string xAxisTitle = string.IsNullOrEmpty(Content.VisualProperties.XAxisTitle) 593 ? "X" 594 : Content.VisualProperties.XAxisTitle; 595 string yAxisTitle = string.IsNullOrEmpty(Content.VisualProperties.YAxisTitle) 596 ? "Y" 597 : Content.VisualProperties.YAxisTitle; 598 series.Points.Add(new DataPoint(d - intervalCenter, sum) { 599 ToolTip = 600 xAxisTitle + ": [" + (d - intervalWidth) + "-" + d + ")" + Environment.NewLine + 601 yAxisTitle + ": " + sum 602 }); 583 603 } 584 604 }
Note: See TracChangeset
for help on using the changeset viewer.