Ejemplo n.º 1
0
		/// <summary>
		/// Loads some pseudo unique colors/symbols into this LineItem.  This
		/// is mainly useful for differentiating a set of new LineItems without
		/// having to pick your own colors/symbols.
		/// <seealso c_ref="CurveItem.MakeUnique( ColorSymbolRotator )"/>
		/// </summary>
		/// <param name="rotator">
		/// The <see c_ref="ColorSymbolRotator"/> that is used to pick the color
		///  and symbol for this method call.
		/// </param>
		override public void MakeUnique( ColorSymbolRotator rotator )
		{
			Color			= rotator.NextColor;
			Symbol.Type	= rotator.NextSymbol;
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Loads some pseudo unique colors/symbols into this CurveItem.  This
		/// is mainly useful for differentiating a set of new CurveItems without
		/// having to pick your own colors/symbols.
		/// <seealso c_ref="MakeUnique(ColorSymbolRotator)"/>
		/// </summary>
		/// <param name="rotator">
		/// The <see c_ref="ColorSymbolRotator"/> that is used to pick the color
		///  and symbol for this method call.
		/// </param>
		virtual public void MakeUnique( ColorSymbolRotator rotator )
		{
			Color = rotator.NextColor;
		}
Ejemplo n.º 3
0
 /// <summary>
 /// Loads some pseudo unique colors/symbols into this LineItem.  This
 /// is mainly useful for differentiating a set of new LineItems without
 /// having to pick your own colors/symbols.
 /// <seealso c_ref="CurveItem.MakeUnique( ColorSymbolRotator )"/>
 /// </summary>
 /// <param name="rotator">
 /// The <see c_ref="ColorSymbolRotator"/> that is used to pick the color
 ///  and symbol for this method call.
 /// </param>
 override public void MakeUnique(ColorSymbolRotator rotator)
 {
     Color       = rotator.NextColor;
     Symbol.Type = rotator.NextSymbol;
 }