ExcelScript.ChartFill interface
Represents the fill formatting for a chart element.
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. |
Clears the fill color of a chart element.
clear(): void;
Returns
void
Gets the uniform color fill formatting of a chart element.
getSolidColor(): string;
Returns
string
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
Office Scripts feedback
Office Scripts is an open source project. Select a link to provide feedback: