Class ExcelChartStyleColorManager
Manages colors for a chart style
Inheritance
ExcelChartStyleColorManager
Inherited Members
Namespace: OfficeOpenXml.Drawing.Chart.Style
Assembly: EPPlus.dll
Syntax
public class ExcelChartStyleColorManager : ExcelDrawingColorManager
Properties
StyleColor
The style color object
Declaration
public ExcelChartStyleColor StyleColor { get; }
Property Value
| Type | Description |
|---|---|
| ExcelChartStyleColor |
Methods
ResetColors(string)
Reset the color
Declaration
protected void ResetColors(string newNodeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | newNodeName | The new name |
SetStyleColor(bool, int)
Sets the style color for a chart style
Declaration
public void SetStyleColor(bool isAuto = true, int index = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isAuto | Is automatic |
| int | index | Is index, maps to the style matrix in the theme |
SetStyleColor(int)
Sets the style color for a chart style
Declaration
public void SetStyleColor(int index = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Is index, maps to the style matrix in the theme |