Example #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 cref="CurveItem.MakeUnique( ColorSymbolRotator )"/>
 /// </summary>
 /// <param name="rotator">
 /// The <see cref="ColorSymbolRotator"/> that is used to pick the color and symbol for this method call.
 /// </param>
 public override void MakeUnique(ColorSymbolRotator rotator)
 {
     this.Color = rotator.NextColor;
     this.Symbol.Type = rotator.NextSymbol;
 }
Example #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 cref="MakeUnique(ColorSymbolRotator)"/>
 /// </summary>
 /// <param name="rotator">
 /// The <see cref="ColorSymbolRotator"/> that is used to pick the color and symbol for this method call.
 /// </param>
 public virtual void MakeUnique(ColorSymbolRotator rotator)
 {
     this.Color = rotator.NextColor;
 }