ExcelScript.ChartFill interface
Represents the fill formatting for a chart element.
Methods
clear() | Clears the fill color of a chart element. |
get |
Gets the uniform color fill formatting of a chart element. |
set |
Sets the fill formatting of a chart element to a uniform color. |
Method Details
clear()
Clears the fill color of a chart element.
clear(): void;
Returns
void
getSolidColor()
Gets the uniform color fill formatting of a chart element.
getSolidColor(): string;
Returns
string
setSolidColor(color)
Sets the fill formatting of a chart element to a uniform color.
setSolidColor(color: string): void;
Parameters
- color
-
string
HTML color code representing the color of the background, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
Returns
void