Class ExcelSparklineColor
Sparkline colors
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: OfficeOpenXml.Sparkline
Assembly: EPPlus.dll
Syntax
public class ExcelSparklineColor : XmlHelper
  Properties
Auto
Color is set to automatic
Declaration
public bool Auto { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Indexed
Indexed color
Declaration
public int Indexed { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Rgb
RGB
Declaration
public string Rgb { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Theme
The theme color
Declaration
public eThemeSchemeColor? Theme { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Nullable<eThemeSchemeColor> | 
Tint
The tint value
Declaration
public decimal Tint { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Decimal | 
Methods
SetAuto()
Sets the color to auto
Declaration
public void SetAuto()
  SetColor(eThemeSchemeColor)
Sets a theme color
Declaration
public void SetColor(eThemeSchemeColor color)
  Parameters
| Type | Name | Description | 
|---|---|---|
| eThemeSchemeColor | color | The color  | 
      
SetColor(ExcelIndexedColor)
Sets an indexed color
Declaration
public void SetColor(ExcelIndexedColor color)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ExcelIndexedColor | color | The color  | 
      
SetColor(Color)
Sets a color
Declaration
public void SetColor(Color color)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Drawing.Color | color | The color  |