Class ColorSymbolRotator
Class used to get the next color/symbol for GraphPane.AddCurve methods.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class ColorSymbolRotatorFields
| Improve this Doc View SourcecolorIndex
The index of the next color to be used. Note: may be
COLORS.Length, it is reset to 0 on the next call if it is.
Declaration
protected int colorIndexField Value
| Type | Description | 
|---|---|
| Int32 | 
COLORS
The Colors ColorSymbolRotator rotates through.
Declaration
public static readonly Color[] COLORSField Value
| Type | Description | 
|---|---|
| Color[] | 
symbolIndex
The index of the next symbol to be used. Note: may be
SYMBOLS.Length, it is reset to 0 on the next call if it is.
Declaration
protected int symbolIndexField Value
| Type | Description | 
|---|---|
| Int32 | 
SYMBOLS
The SymbolTypes ColorSymbolRotator rotates through.
Declaration
public static readonly SymbolType[] SYMBOLSField Value
| Type | Description | 
|---|---|
| SymbolType[] | 
Properties
| Improve this Doc View SourceNextColor
Retrieves the next color in the rotation Calling this method has the side effect of incrementing the color index. NextSymbol NextColorIndex
Declaration
public Color NextColor { get; }Property Value
| Type | Description | 
|---|---|
| Color | 
NextColorIndex
Retrieves the index of the next color to be used. Calling this method has the side effect of incrementing the color index.
Declaration
public int NextColorIndex { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
NextSymbol
Retrieves the next color in the rotation. Calling this method has the side effect of incrementing the symbol index. NextColor NextSymbolIndex
Declaration
public SymbolType NextSymbol { get; }Property Value
| Type | Description | 
|---|---|
| SymbolType | 
NextSymbolIndex
Retrieves the index of the next symbol to be used. Calling this method has the side effect of incrementing the symbol index.
Declaration
public int NextSymbolIndex { get; set; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
StaticInstance
Retrieves the ColorSymbolRotator instance used by the static methods. StaticNextColor StaticNextSymbol
Declaration
public static ColorSymbolRotator StaticInstance { get; }Property Value
| Type | Description | 
|---|---|
| ColorSymbolRotator | 
StaticNextColor
Retrieves the next color from this class's static ColorSymbolRotator instance StaticInstance StaticNextSymbol
Declaration
public static Color StaticNextColor { get; }Property Value
| Type | Description | 
|---|---|
| Color | 
StaticNextSymbol
Retrieves the next symbol type from this class's static ColorSymbolRotator instance StaticInstance StaticNextColor
Declaration
public static SymbolType StaticNextSymbol { get; }Property Value
| Type | Description | 
|---|---|
| SymbolType |