Skip to content

Class ExcelChartStyleColorManager

Namespace: OfficeOpenXml.Drawing.Chart.Style
Assembly: EPPlus.dll

Manages colors for a chart style

public class ExcelChartStyleColorManager : ExcelDrawingColorManager

Inheritance

object ← ExcelDrawingThemeColorManager ← ExcelDrawingColorManager ← ExcelChartStyleColorManager

Inherited Members

ExcelDrawingColorManager.ResetColors(string)
ExcelDrawingColorManager.SchemeColor
ExcelDrawingColorManager.SetSchemeColor(eSchemeColor)
ExcelDrawingThemeColorManager._colorNode
ExcelDrawingThemeColorManager._initMethod
ExcelDrawingThemeColorManager._nameSpaceManager
ExcelDrawingThemeColorManager._path
ExcelDrawingThemeColorManager._pathNode
ExcelDrawingThemeColorManager._schemaNodeOrder
ExcelDrawingThemeColorManager._topNode
ExcelDrawingThemeColorManager.ColorType
ExcelDrawingThemeColorManager.HslColor
ExcelDrawingThemeColorManager.PresetColor
ExcelDrawingThemeColorManager.ResetColors(string)
ExcelDrawingThemeColorManager.RgbColor
ExcelDrawingThemeColorManager.RgbPercentageColor
ExcelDrawingThemeColorManager.SetHslColor(double, double, double)
ExcelDrawingThemeColorManager.SetPresetColor(Color)
ExcelDrawingThemeColorManager.SetPresetColor(ePresetColor)
ExcelDrawingThemeColorManager.SetRgbColor(Color, bool)
ExcelDrawingThemeColorManager.SetRgbPercentageColor(double, double, double)
ExcelDrawingThemeColorManager.SetSystemColor(eSystemColor)
ExcelDrawingThemeColorManager.SystemColor
ExcelDrawingThemeColorManager.Transforms
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

StyleColor

The style color object

public ExcelChartStyleColor StyleColor { get; }

Property Value

ExcelChartStyleColor

Methods

ResetColors(string)

Reset the color

protected void ResetColors(string newNodeName)

Parameters

newNodeName string

The new name

SetStyleColor(int)

Sets the style color for a chart style

public void SetStyleColor(int index = 0)

Parameters

index int

Is index, maps to the style matrix in the theme

SetStyleColor(bool, int)

Sets the style color for a chart style

public void SetStyleColor(bool isAuto = true, int index = 0)

Parameters

isAuto bool

Is automatic

index int

Is index, maps to the style matrix in the theme