ExcelScript.ChartAreaFormat interface

Encapsulates the format properties for the overall chart area.

Methods

getBorder()

Represents the border format of chart area, which includes color, linestyle, and weight.

getColorScheme()

Specifies the color scheme of the chart.

getFill()

Represents the fill format of an object, which includes background formatting information.

getFont()

Represents the font attributes (font name, font size, color, etc.) for the current object.

getRoundedCorners()

Specifies if the chart area of the chart has rounded corners.

setColorScheme(colorScheme)

Specifies the color scheme of the chart.

setRoundedCorners(roundedCorners)

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

Returns

void

setRoundedCorners(roundedCorners)

Specifies if the chart area of the chart has rounded corners.

setRoundedCorners(roundedCorners: boolean): void;

Parameters

roundedCorners

boolean

Returns

void