ExcelScript.ChartAreaFormat interface
Encapsulates the format properties for the overall chart area.
Methods
get |
Represents the border format of chart area, which includes color, linestyle, and weight. |
get |
Specifies the color scheme of the chart. |
get |
Represents the fill format of an object, which includes background formatting information. |
get |
Represents the font attributes (font name, font size, color, etc.) for the current object. |
get |
Specifies if the chart area of the chart has rounded corners. |
set |
Specifies the color scheme of the chart. |
set |
Specifies if the chart area of the chart has rounded corners. |
Method Details
getBorder()
Represents the border format of chart area, which includes color, linestyle, and weight.
getBorder(): ChartBorder;
Returns
getColorScheme()
Specifies the color scheme of the chart.
getColorScheme(): ChartColorScheme;
Returns
getFill()
Represents the fill format of an object, which includes background formatting information.
getFill(): ChartFill;
Returns
getFont()
Represents the font attributes (font name, font size, color, etc.) for the current object.
getFont(): ChartFont;
Returns
getRoundedCorners()
Specifies if the chart area of the chart has rounded corners.
getRoundedCorners(): boolean;
Returns
boolean
setColorScheme(colorScheme)
Specifies the color scheme of the chart.
setColorScheme(colorScheme: ChartColorScheme): void;
Parameters
- colorScheme
- ExcelScript.ChartColorScheme
Returns
void
setRoundedCorners(roundedCorners)
Specifies if the chart area of the chart has rounded corners.
setRoundedCorners(roundedCorners: boolean): void;
Parameters
- roundedCorners
-
boolean
Returns
void
Office Scripts