Class ExcelSparklineColor
- Namespace
- OfficeOpenXml.Sparkline
- Assembly
- EPPlus.dll
Sparkline colors
public class ExcelSparklineColor : XmlHelper
- Inheritance
-
ExcelSparklineColor
- Inherited Members
Properties
Auto
Color is set to automatic
public bool Auto { get; }
Property Value
Indexed
Indexed color
public int Indexed { get; set; }
Property Value
Rgb
RGB
public string Rgb { get; }
Property Value
Theme
The theme color
public eThemeSchemeColor? Theme { get; }
Property Value
Tint
The tint value
public decimal Tint { get; set; }
Property Value
Methods
SetAuto()
Sets the color to auto
public void SetAuto()
SetColor(eThemeSchemeColor)
Sets a theme color
public void SetColor(eThemeSchemeColor color)
Parameters
color
eThemeSchemeColorThe color
SetColor(ExcelIndexedColor)
Sets an indexed color
public void SetColor(ExcelIndexedColor color)
Parameters
color
ExcelIndexedColorThe color
SetColor(Color)
Sets a color
public void SetColor(Color color)
Parameters
color
ColorThe color