Changeset 6012 for branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
- Timestamp:
- 04/15/11 18:41:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization/DataRowVisualProperties.cs
r6011 r6012 40 40 } 41 41 #endregion 42 #region LineStyle 43 public enum DataRowLineStyle { 44 Dash, 45 DashDot, 46 DashDotDot, 47 Dot, 48 NotSet, 49 Solid 50 } 51 #endregion 42 52 43 53 private DataRowChartType chartType; … … 81 91 } 82 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 } 83 103 private bool startIndexZero; 84 104 public bool StartIndexZero { … … 88 108 startIndexZero = value; 89 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"); 90 120 } 91 121 } … … 133 163 set { color = value; } 134 164 } 165 [Storable(Name = "LineStyle")] 166 private DataRowLineStyle StorableLineStyle { 167 get { return lineStyle; } 168 set { lineStyle = value; } 169 } 135 170 [Storable(Name = "StartIndexZero")] 136 171 private bool StorableStartIndexZero { 137 172 get { return startIndexZero; } 138 173 set { startIndexZero = value; } 174 } 175 [Storable(Name = "LineWidth")] 176 private int StorableLineWidth { 177 get { return lineWidth; } 178 set { lineWidth = value; } 139 179 } 140 180 [Storable(Name = "Bins")] … … 158 198 this.secondXAxis = original.secondXAxis; 159 199 this.color = original.color; 200 this.lineStyle = original.lineStyle; 160 201 this.startIndexZero = original.startIndexZero; 202 this.lineWidth = original.lineWidth; 161 203 this.bins = original.bins; 162 204 this.exactBins = original.exactBins; … … 167 209 secondXAxis = false; 168 210 color = Color.Empty; 211 lineStyle = DataRowLineStyle.Solid; 169 212 startIndexZero = false; 213 lineWidth = 1; 170 214 bins = 10; 171 215 exactBins = false;
Note: See TracChangeset
for help on using the changeset viewer.