- Timestamp:
- 12/22/11 09:55:59 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs
r7221 r7229 93 93 public DataTable(string name) 94 94 : base(name) { 95 VisualProperties = new DataTableVisualProperties( );95 VisualProperties = new DataTableVisualProperties(name); 96 96 rows = new NamedItemCollection<DataRow>(); 97 visualProperties.Title = name;98 97 this.RegisterRowsEvents(); 99 98 } 100 99 public DataTable(string name, string description) 101 100 : base(name, description) { 102 VisualProperties = new DataTableVisualProperties( );101 VisualProperties = new DataTableVisualProperties(name); 103 102 rows = new NamedItemCollection<DataRow>(); 104 visualProperties.Title = name;105 103 this.RegisterRowsEvents(); 106 104 } … … 110 108 [StorableHook(HookType.AfterDeserialization)] 111 109 private void AfterDeserialization() { 112 if (VisualProperties == null) VisualProperties = new DataTableVisualProperties(); 110 if (VisualProperties == null) VisualProperties = new DataTableVisualProperties(name); 111 if (VisualProperties.Title == null) VisualProperties.Title = name; 113 112 } 114 113 #endregion -
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs
r7221 r7229 497 497 this.secondYAxisMaximumAuto = true; 498 498 this.secondYAxisMaximumFixedValue = double.NaN; 499 } 500 public DataTableVisualProperties(string title) 501 : this() { 502 this.title = title; 499 503 } 500 504
Note: See TracChangeset
for help on using the changeset viewer.