ExcelScript.ChartLineFormat interface

Encapsulates the formatting options for line elements.

Methods

clear()

Clears the line format of a chart element.

getColor()

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

getLineStyle()

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

getWeight()

Represents weight of the line, in points.

setColor(color)

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

setLineStyle(lineStyle)

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

setWeight(weight)

Represents weight of the line, in points.

Method Details

clear()

Clears the line format of a chart element.

clear(): void;

Returns

void

getColor()

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

getColor(): string;

Returns

string

getLineStyle()

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

getLineStyle(): ChartLineStyle;

Returns

getWeight()

Represents weight of the line, in points.

getWeight(): number;

Returns

number

setColor(color)

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

setColor(color: string): void;

Parameters

color

string

Returns

void

setLineStyle(lineStyle)

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

setLineStyle(lineStyle: ChartLineStyle): void;

Parameters

Returns

void

setWeight(weight)

Represents weight of the line, in points.

setWeight(weight: number): void;

Parameters

weight

number

Returns

void