ExcelScript.ConditionalDataBarPositiveFormat interface
Represents a conditional format for the positive side of the data bar.
Methods
get |
HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). Value is "" (an empty string) if no border is present or set. |
get |
HTML color code representing the fill color, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). |
get |
Specifies if the data bar has a gradient. |
set |
HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). Value is "" (an empty string) if no border is present or set. |
set |
HTML color code representing the fill color, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). |
set |
Specifies if the data bar has a gradient. |
Method Details
getBorderColor()
HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). Value is "" (an empty string) if no border is present or set.
getBorderColor(): string;
Returns
string
getFillColor()
HTML color code representing the fill color, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
getFillColor(): string;
Returns
string
getGradientFill()
Specifies if the data bar has a gradient.
getGradientFill(): boolean;
Returns
boolean
setBorderColor(borderColor)
HTML color code representing the color of the border line, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange"). Value is "" (an empty string) if no border is present or set.
setBorderColor(borderColor: string): void;
Parameters
- borderColor
-
string
Returns
void
setFillColor(fillColor)
HTML color code representing the fill color, in the form #RRGGBB (e.g., "FFA500") or as a named HTML color (e.g., "orange").
setFillColor(fillColor: string): void;
Parameters
- fillColor
-
string
Returns
void
setGradientFill(gradientFill)
Specifies if the data bar has a gradient.
setGradientFill(gradientFill: boolean): void;
Parameters
- gradientFill
-
boolean
Returns
void
Office Scripts