Beispiel #1
0
 protected void InternalSetDataBounds(FiniteDateTimeBoundaries bounds)
 {
     if (_dataBounds != null)
     {
         _dataBounds = null;
     }
     _dataBounds = bounds;
     _dataBounds.ParentObject = this;
 }
Beispiel #2
0
 protected void InternalSetDataBounds(FiniteDateTimeBoundaries bounds)
 {
     if (this._dataBounds != null)
     {
         this._dataBounds.BoundaryChanged -= new BoundaryChangedHandler(this.EhBoundariesChanged);
         this._dataBounds = null;
     }
     this._dataBounds = bounds;
     this._dataBounds.BoundaryChanged += new BoundaryChangedHandler(this.EhBoundariesChanged);
 }
Beispiel #3
0
 protected override System.Collections.Generic.IEnumerable <Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
 {
     if (null != _dataBounds)
     {
         yield return(new Main.DocumentNodeAndName(_dataBounds, () => _dataBounds = null, "DataBounds"));
     }
     if (null != _rescaling)
     {
         yield return(new Main.DocumentNodeAndName(_rescaling, () => _rescaling = null, "Rescaling"));
     }
     if (null != _tickSpacing)
     {
         yield return(new Main.DocumentNodeAndName(_tickSpacing, () => _tickSpacing = null, "TickSpacing"));
     }
 }
Beispiel #4
0
 public DateTimeScale()
 {
     _dataBounds = new FiniteDateTimeBoundaries()
     {
         ParentObject = this
     };
     _rescaling = new DateTimeScaleRescaleConditions()
     {
         ParentObject = this
     };
     _tickSpacing = new Ticks.DateTimeTickSpacing()
     {
         ParentObject = this
     };
     UpdateTicksAndOrgEndUsingRescalingObject();
 }
Beispiel #5
0
		protected override System.Collections.Generic.IEnumerable<Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
		{
			if (null != _dataBounds)
				yield return new Main.DocumentNodeAndName(_dataBounds, () => _dataBounds = null, "DataBounds");
			if (null != _rescaling)
				yield return new Main.DocumentNodeAndName(_rescaling, () => _rescaling = null, "Rescaling");
			if (null != _tickSpacing)
				yield return new Main.DocumentNodeAndName(_tickSpacing, () => _tickSpacing = null, "TickSpacing");
		}
Beispiel #6
0
		public DateTimeScale()
		{
			_dataBounds = new FiniteDateTimeBoundaries() { ParentObject = this };
			_rescaling = new DateTimeScaleRescaleConditions() { ParentObject = this };
			_tickSpacing = new Ticks.DateTimeTickSpacing() { ParentObject = this };
			UpdateTicksAndOrgEndUsingRescalingObject();
		}
Beispiel #7
0
		protected void InternalSetDataBounds(FiniteDateTimeBoundaries bounds)
		{
			if (this._dataBounds != null)
			{
				this._dataBounds = null;
			}
			this._dataBounds = bounds;
			this._dataBounds.ParentObject = this;
		}