Changeset 7669 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
- Timestamp:
- 03/28/12 15:47:26 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 3 3 *.resharper 4 4 *.suo 5 *.user 5 6 *.vsp 6 7 Doxygen 8 FxCopResults.txt 7 9 Google.ProtocolBuffers-0.9.1.dll 8 10 HeuristicLab 3.3.5.1.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r7270 r7669 176 176 else series.BorderColor = Color.Black; 177 177 break; 178 case DataRowVisualProperties.DataRowChartType.StepLine: 179 series.ChartType = SeriesChartType.StepLine; 180 series.BorderWidth = row.VisualProperties.LineWidth; 181 series.BorderDashStyle = ConvertLineStyle(row.VisualProperties.LineStyle); 182 break; 178 183 default: 179 184 series.ChartType = SeriesChartType.FastPoint; … … 184 189 if (row.VisualProperties.DisplayName.Trim() != String.Empty) series.LegendText = row.VisualProperties.DisplayName; 185 190 else series.LegendText = row.Name; 186 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"; 187 202 } 188 203 … … 575 590 ++j; 576 591 } 577 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 }); 578 603 } 579 604 }
Note: See TracChangeset
for help on using the changeset viewer.