- Timestamp:
- 03/16/09 19:42:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Visualization/ChartDataRowsModel.cs
r1341 r1350 28 28 } 29 29 30 public List<YAxisDescriptor> YAxes { 31 get { 32 Dictionary<YAxisDescriptor, object> yaxes = new Dictionary<YAxisDescriptor, object>(); 33 34 foreach (IDataRow row in rows) { 35 yaxes[row.YAxis] = null; 36 } 37 38 return new List<YAxisDescriptor>(yaxes.Keys); 39 } 40 } 41 30 42 31 43 private readonly List<IDataRow> rows = new List<IDataRow>(); … … 111 123 //} 112 124 125 private readonly YAxisDescriptor defaultYAxisDescriptor = new YAxisDescriptor(); 126 113 127 public void AddDataRow(IDataRow row) { 128 if (row.YAxis == null) { 129 row.YAxis = defaultYAxisDescriptor; 130 } 114 131 rows.Add(row); 115 132 OnDataRowAdded(row);
Note: See TracChangeset
for help on using the changeset viewer.