ExcelScript.ChartAxisTitle interface
Represents the title of a chart axis.
Methods
get |
Specifies the formatting of the chart axis title. |
get |
Specifies the axis title. |
get |
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. |
get |
Specifies if the axis title is visible. |
set |
A string value that represents the formula of chart axis title using A1-style notation. |
set |
Specifies the axis title. |
set |
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. |
set |
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
Office Scripts