- Timestamp:
- 04/15/11 18:41:13 (14 years ago)
- Location:
- branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization
- Files:
-
- 2 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; -
branches/histogram/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs
r5445 r6012 54 54 } 55 55 56 private string secondXAxisTitle; 57 public string SecondXAxisTitle { 58 get { return secondXAxisTitle; } 59 set { 60 if (value == null) value = string.Empty; 61 if (secondXAxisTitle != value) { 62 secondXAxisTitle = value; 63 OnPropertyChanged("SecondXAxisTitle"); 64 } 65 } 66 } 67 56 68 private string secondYAxisTitle; 57 69 public string SecondYAxisTitle { … … 77 89 set { yAxisTitle = value; } 78 90 } 91 [Storable(Name = "SecondXAxisTitle")] 92 private string StorableSecondXAxisTitle { 93 get { return secondXAxisTitle; } 94 set { secondXAxisTitle = value; } 95 } 79 96 [Storable(Name = "SecondYAxisTitle")] 80 97 private string StorableSecondYAxisTitle { … … 90 107 this.xAxisTitle = original.xAxisTitle; 91 108 this.yAxisTitle = original.yAxisTitle; 109 this.secondXAxisTitle = original.secondXAxisTitle; 92 110 this.secondYAxisTitle = original.secondYAxisTitle; 93 111 } … … 95 113 this.xAxisTitle = string.Empty; 96 114 this.yAxisTitle = string.Empty; 115 this.secondXAxisTitle = string.Empty; 97 116 this.secondYAxisTitle = string.Empty; 98 117 }
Note: See TracChangeset
for help on using the changeset viewer.