ExcelScript.ChartBorder interface

Represents the border formatting of a chart element.

Methods

clear()

Clear the border format of a chart element.

getColor()

HTML color code representing the color of borders in the chart.

getLineStyle()

Represents the line style of the border. See ExcelScript.ChartLineStyle for details.

getWeight()

Represents weight of the border, in points.

setColor(color)

HTML color code representing the color of borders in the chart.

setLineStyle(lineStyle)

Represents the line style of the border. See ExcelScript.ChartLineStyle for details.

setWeight(weight)

Represents weight of the border, in points.

Method Details

clear()

Clear the border format of a chart element.

clear(): void;

Returns

void

getColor()

HTML color code representing the color of borders in the chart.

getColor(): string;

Returns

string

getLineStyle()

Represents the line style of the border. See ExcelScript.ChartLineStyle for details.

getLineStyle(): ChartLineStyle;

Returns

getWeight()

Represents weight of the border, in points.

getWeight(): number;

Returns

number

setColor(color)

HTML color code representing the color of borders in the chart.

setColor(color: string): void;

Parameters

color

string

Returns

void

setLineStyle(lineStyle)

Represents the line style of the border. See ExcelScript.ChartLineStyle for details.

setLineStyle(lineStyle: ChartLineStyle): void;

Parameters

Returns

void

setWeight(weight)

Represents weight of the border, in points.

setWeight(weight: number): void;

Parameters

weight

number

Returns

void