Changeset 9258 for trunk/sources/HeuristicLab.Analysis
- Timestamp:
- 02/28/13 15:38:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/DataTableVisualProperties.cs
r7259 r9258 20 20 #endregion 21 21 22 using HeuristicLab.Common; 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 22 24 using System.ComponentModel; 23 25 using System.Drawing; 24 using HeuristicLab.Common;25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 27 27 namespace HeuristicLab.Analysis { … … 312 312 OnPropertyChanged("SecondYAxisMaximumFixedValue"); 313 313 } 314 } 315 } 316 317 private bool xAxisLogScale; 318 public bool XAxisLogScale { 319 get { return xAxisLogScale; } 320 set { 321 if (xAxisLogScale == value) return; 322 xAxisLogScale = value; 323 OnPropertyChanged("XAxisLogScale"); 324 } 325 } 326 327 private bool secondXAxisLogScale; 328 public bool SecondXAxisLogScale { 329 get { return secondXAxisLogScale; } 330 set { 331 if (secondXAxisLogScale == value) return; 332 secondXAxisLogScale = value; 333 OnPropertyChanged("SecondXAxisLogScale"); 334 } 335 } 336 337 private bool yAxisLogScale; 338 public bool YAxisLogScale { 339 get { return yAxisLogScale; } 340 set { 341 if (yAxisLogScale == value) return; 342 yAxisLogScale = value; 343 OnPropertyChanged("YAxisLogScale"); 344 } 345 } 346 347 private bool secondYAxisLogScale; 348 public bool SecondYAxisLogScale { 349 get { return secondYAxisLogScale; } 350 set { 351 if (secondYAxisLogScale == value) return; 352 secondYAxisLogScale = value; 353 OnPropertyChanged("SecondYAxisLogScale"); 314 354 } 315 355 } … … 472 512 this.secondYAxisMaximumAuto = original.secondYAxisMaximumAuto; 473 513 this.secondYAxisMaximumFixedValue = original.secondYAxisMaximumFixedValue; 514 this.xAxisLogScale = original.xAxisLogScale; 515 this.secondXAxisLogScale = original.secondXAxisLogScale; 516 this.yAxisLogScale = original.yAxisLogScale; 517 this.secondYAxisLogScale = original.secondYAxisLogScale; 474 518 } 475 519 public DataTableVisualProperties() { … … 497 541 this.secondYAxisMaximumAuto = true; 498 542 this.secondYAxisMaximumFixedValue = double.NaN; 543 this.xAxisLogScale = false; 544 this.secondXAxisLogScale = false; 545 this.yAxisLogScale = false; 546 this.secondYAxisLogScale = false; 499 547 } 500 548 public DataTableVisualProperties(string title) … … 509 557 public event PropertyChangedEventHandler PropertyChanged; 510 558 protected virtual void OnPropertyChanged(string propertyName) { 511 PropertyChangedEventHandler handler = PropertyChanged;559 var handler = PropertyChanged; 512 560 if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName)); 513 561 } … … 547 595 this.secondYAxisMaximumAuto = true; 548 596 this.secondYAxisMaximumFixedValue = double.NaN; 597 } 549 598 #endregion 550 }551 599 } 552 600 }
Note: See TracChangeset
for help on using the changeset viewer.