Changeset 6342 for trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
- Timestamp:
- 05/30/11 18:07:32 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/histogram (added) merged: 5959,5961,5970,5994-5996,5999,6007,6010-6016,6020,6022,6027-6028,6032,6046,6055-6056,6081-6082,6086-6087,6089,6115,6176,6194-6195,6338-6341
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Analysis
- Property svn:mergeinfo changed
/branches/histogram/HeuristicLab.Analysis (added) merged: 5961,5994-5995,6010-6014,6020,6022,6032,6046,6055,6115,6195,6338,6340
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
r5445 r6342 36 36 Columns, 37 37 Points, 38 Bars 38 Bars, 39 Histogram 40 } 41 #endregion 42 #region LineStyle 43 public enum DataRowLineStyle { 44 Dash, 45 DashDot, 46 DashDotDot, 47 Dot, 48 NotSet, 49 Solid 39 50 } 40 51 #endregion … … 60 71 } 61 72 } 73 private bool secondXAxis; 74 public bool SecondXAxis { 75 get { return secondXAxis; } 76 set { 77 if (secondXAxis != value) { 78 secondXAxis = value; 79 OnPropertyChanged("SecondXAxis"); 80 } 81 } 82 } 62 83 private Color color; 63 84 public Color Color { … … 70 91 } 71 92 } 93 private DataRowLineStyle lineStyle; 94 public DataRowLineStyle LineStyle { 95 get { return lineStyle; } 96 set { 97 if (lineStyle != value) { 98 lineStyle = value; 99 OnPropertyChanged("LineStyle"); 100 } 101 } 102 } 72 103 private bool startIndexZero; 73 104 public bool StartIndexZero { … … 77 108 startIndexZero = value; 78 109 OnPropertyChanged("StartIndexZero"); 110 } 111 } 112 } 113 private int lineWidth; 114 public int LineWidth { 115 get { return lineWidth; } 116 set { 117 if (lineWidth != value) { 118 lineWidth = value; 119 OnPropertyChanged("LineWidth"); 120 } 121 } 122 } 123 private int bins; 124 public int Bins { 125 get { return bins; } 126 set { 127 if (bins != value) { 128 bins = value; 129 OnPropertyChanged("Bins"); 130 } 131 } 132 } 133 private bool exactBins; 134 public bool ExactBins { 135 get { return exactBins; } 136 set { 137 if (exactBins != value) { 138 exactBins = value; 139 OnPropertyChanged("ExactBins"); 79 140 } 80 141 } … … 92 153 set { secondYAxis = value; } 93 154 } 155 [Storable(Name = "SecondXAxis")] 156 private bool StorableSecondXAxis { 157 get { return secondXAxis; } 158 set { secondXAxis = value; } 159 } 94 160 [Storable(Name = "Color")] 95 161 private Color StorableColor { … … 97 163 set { color = value; } 98 164 } 165 [Storable(Name = "LineStyle")] 166 private DataRowLineStyle StorableLineStyle { 167 get { return lineStyle; } 168 set { lineStyle = value; } 169 } 99 170 [Storable(Name = "StartIndexZero")] 100 171 private bool StorableStartIndexZero { 101 172 get { return startIndexZero; } 102 173 set { startIndexZero = value; } 174 } 175 [Storable(Name = "LineWidth")] 176 private int StorableLineWidth { 177 get { return lineWidth; } 178 set { lineWidth = value; } 179 } 180 [Storable(Name = "Bins")] 181 private int StorableBins { 182 get { return bins; } 183 set { bins = value; } 184 } 185 [Storable(Name = "ExactBins")] 186 private bool StorableExactBins { 187 get { return exactBins; } 188 set { exactBins = value; } 103 189 } 104 190 #endregion … … 110 196 this.chartType = original.chartType; 111 197 this.secondYAxis = original.secondYAxis; 198 this.secondXAxis = original.secondXAxis; 112 199 this.color = original.color; 200 this.lineStyle = original.lineStyle; 113 201 this.startIndexZero = original.startIndexZero; 202 this.lineWidth = original.lineWidth; 203 this.bins = original.bins; 204 this.exactBins = original.exactBins; 114 205 } 115 206 public DataRowVisualProperties() { 116 207 chartType = DataRowChartType.Line; 117 208 secondYAxis = false; 209 secondXAxis = false; 118 210 color = Color.Empty; 211 lineStyle = DataRowLineStyle.Solid; 119 212 startIndexZero = false; 213 lineWidth = 1; 214 bins = 10; 215 exactBins = false; 120 216 } 121 217
Note: See TracChangeset
for help on using the changeset viewer.