Changeset 8282
- Timestamp:
- 07/11/12 01:02:24 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/ScatterPlotView.cs
r8280 r8282 182 182 if (!Content.VisualProperties.AxisTitleColor.IsEmpty) area.AxisX.TitleForeColor = Content.VisualProperties.AxisTitleColor; 183 183 area.AxisX.Title = Content.VisualProperties.XAxisTitle; 184 area.AxisX.MajorGrid.Enabled = Content.VisualProperties.XAxisGrid; 184 185 185 186 if (Content.VisualProperties.AxisTitleFont != null) area.AxisY.TitleFont = Content.VisualProperties.AxisTitleFont; 186 187 if (!Content.VisualProperties.AxisTitleColor.IsEmpty) area.AxisY.TitleForeColor = Content.VisualProperties.AxisTitleColor; 187 188 area.AxisY.Title = Content.VisualProperties.YAxisTitle; 189 area.AxisY.MajorGrid.Enabled = Content.VisualProperties.YAxisGrid; 188 190 } 189 191 -
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotVisualProperties.cs
r8280 r8282 107 107 } 108 108 109 private bool xAxisGrid; 110 public bool XAxisGrid { 111 get { return xAxisGrid; } 112 set { 113 if (xAxisGrid != value) { 114 xAxisGrid = value; 115 OnPropertyChanged("XAxisGrid"); 116 } 117 } 118 } 119 120 private bool yAxisGrid; 121 public bool YAxisGrid { 122 get { return yAxisGrid; } 123 set { 124 if (yAxisGrid != value) { 125 yAxisGrid = value; 126 OnPropertyChanged("YAxisGrid"); 127 } 128 } 129 } 130 109 131 private bool xAxisMinimumAuto; 110 132 public bool XAxisMinimumAuto { … … 234 256 get { return yAxisTitle; } 235 257 set { yAxisTitle = value; } 258 } 259 [Storable(Name = "XAxisGrid")] 260 private bool StorableXAxisGrid { 261 get { return xAxisGrid; } 262 set { xAxisGrid = value; } 263 } 264 [Storable(Name = "YAxisGrid")] 265 private bool StorableYAxisGrid { 266 get { return yAxisGrid; } 267 set { yAxisGrid = value; } 236 268 } 237 269 [Storable(Name = "XAxisMinimumAuto")] … … 288 320 this.xAxisTitle = original.xAxisTitle; 289 321 this.yAxisTitle = original.yAxisTitle; 322 this.xAxisGrid = original.xAxisGrid; 323 this.yAxisGrid = original.yAxisGrid; 290 324 this.xAxisMinimumAuto = original.xAxisMinimumAuto; 291 325 this.xAxisMinimumFixedValue = original.xAxisMinimumFixedValue; … … 303 337 this.xAxisTitle = string.Empty; 304 338 this.yAxisTitle = string.Empty; 339 this.xAxisGrid = true; 340 this.yAxisGrid = true; 305 341 this.xAxisMinimumAuto = true; 306 342 this.xAxisMinimumFixedValue = double.NaN;
Note: See TracChangeset
for help on using the changeset viewer.