Show / Hide Table of Contents

Class ExcelSparklineColor

Sparkline colors

Inheritance
object
XmlHelper
ExcelSparklineColor
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
bool

Indexed

Indexed color

Declaration
public int Indexed { get; set; }
Property Value
Type Description
int

Rgb

RGB

Declaration
public string Rgb { get; }
Property Value
Type Description
string

Theme

The theme color

Declaration
public eThemeSchemeColor? Theme { get; }
Property Value
Type Description
eThemeSchemeColor?

Tint

The tint value

Declaration
public double Tint { get; set; }
Property Value
Type Description
double

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
Color color

The color

In this article
Back to top Generated by DocFX