ExcelScript.ChartAxisTitle interface

Represents the title of a chart axis.

Methods

getFormat()

Specifies the formatting of the chart axis title.

getText()

Specifies the axis title.

getTextOrientation()

Specifies the angle to which the text is oriented for the chart axis title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

getVisible()

Specifies if the axis title is visible.

setFormula(formula)

A string value that represents the formula of chart axis title using A1-style notation.

setText(text)

Specifies the axis title.

setTextOrientation(textOrientation)

Specifies the angle to which the text is oriented for the chart axis title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

setVisible(visible)

Specifies if the axis title is visible.

Method Details

getFormat()

Specifies the formatting of the chart axis title.

getFormat(): ChartAxisTitleFormat;

Returns

getText()

Specifies the axis title.

getText(): string;

Returns

string

getTextOrientation()

Specifies the angle to which the text is oriented for the chart axis title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

getTextOrientation(): number;

Returns

number

getVisible()

Specifies if the axis title is visible.

getVisible(): boolean;

Returns

boolean

setFormula(formula)

A string value that represents the formula of chart axis title using A1-style notation.

setFormula(formula: string): void;

Parameters

formula

string

A string that represents the formula to set.

Returns

void

setText(text)

Specifies the axis title.

setText(text: string): void;

Parameters

text

string

Returns

void

setTextOrientation(textOrientation)

Specifies the angle to which the text is oriented for the chart axis title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

setTextOrientation(textOrientation: number): void;

Parameters

textOrientation

number

Returns

void

setVisible(visible)

Specifies if the axis title is visible.

setVisible(visible: boolean): void;

Parameters

visible

boolean

Returns

void