Changeset 14438
- Timestamp:
- 12/02/16 10:46:09 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Analysis.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs
r14435 r14438 103 103 if (Content != null) { 104 104 chart.Titles[0].Text = Content.Name; 105 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.Name); 105 106 AddDataRows(Content.Rows); 106 107 ConfigureChartArea(chart.ChartAreas[0]); … … 216 217 if (!Content.VisualProperties.TitleColor.IsEmpty) chart.Titles[0].ForeColor = Content.VisualProperties.TitleColor; 217 218 chart.Titles[0].Text = Content.VisualProperties.Title; 219 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.VisualProperties.Title); 218 220 219 221 if (Content.VisualProperties.AxisTitleFont != null) area.AxisX.TitleFont = Content.VisualProperties.AxisTitleFont; … … 287 289 else { 288 290 chart.Titles[0].Text = Content.Name; 291 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.Name); 289 292 base.Content_NameChanged(sender, e); 290 293 } -
trunk/sources/HeuristicLab.Analysis.Views/3.3/ScatterPlotView.cs
r14435 r14438 102 102 if (Content != null) { 103 103 chart.Titles[0].Text = Content.Name; 104 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.Name); 104 105 AddScatterPlotDataRows(Content.Rows); 105 106 ConfigureChartArea(chart.ChartAreas[0]); … … 184 185 if (!Content.VisualProperties.TitleColor.IsEmpty) chart.Titles[0].ForeColor = Content.VisualProperties.TitleColor; 185 186 chart.Titles[0].Text = Content.VisualProperties.Title; 187 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.VisualProperties.Title); 186 188 187 189 if (Content.VisualProperties.AxisTitleFont != null) area.AxisX.TitleFont = Content.VisualProperties.AxisTitleFont; … … 255 257 else { 256 258 chart.Titles[0].Text = Content.Name; 259 chart.Titles[0].Visible = !string.IsNullOrEmpty(Content.Name); 257 260 base.Content_NameChanged(sender, e); 258 261 }
Note: See TracChangeset
for help on using the changeset viewer.