Represents the title of a [[WorksheetChart]] or [[Axis]].
Constructors
Section titled "Constructors"ChartTitle
new ChartTitle(): ChartTitle Returns ChartTitle
Properties
Section titled "Properties"$t: Type border
Section titled "border"Inherited from: ChartTextAreaBase
border: ChartBorder Inherited from: ChartTextAreaBase
fill: ChartFillBase horizontalOverflow
Section titled "horizontalOverflow"Inherited from: ChartTextAreaBase
horizontalOverflow: TextHorizontalOverflow Inherited from: ChartTextAreaBase
left: number overlay
Section titled "overlay"overlay: boolean position
Section titled "position"Inherited from: ChartTextAreaBase
position: ElementPosition readingOrder
Section titled "readingOrder"Inherited from: ChartTextAreaBase
readingOrder: ReadingOrder rotation
Section titled "rotation"Inherited from: ChartTextAreaBase
rotation: number Inherited from: ChartTextAreaBase
text: FormattedString textDirection
Section titled "textDirection"Inherited from: ChartTextAreaBase
textDirection: TextDirection Inherited from: ChartTextAreaBase
top: number verticalAlignment
Section titled "verticalAlignment"Inherited from: ChartTextAreaBase
verticalAlignment: VerticalTitleAlignment verticalOverflow
Section titled "verticalOverflow"Inherited from: ChartTextAreaBase
verticalOverflow: TextVerticalOverflow wrapText
Section titled "wrapText"Inherited from: ChartTextAreaBase
wrapText: boolean Accessors
Section titled "Accessors"chart
Section titled "chart"Inherited from: ChartTextAreaBase
defaultFont
Section titled "defaultFont"Inherited from: ChartTextAreaBase
Defines the font properties for each formatted run in the [[text]] that has no more specific setting. Read-only.
get defaultFont(): IWorkbookFont Returns IWorkbookFont
formula
Section titled "formula"Inherited from: ChartTextAreaBase
The formula used to get the text displayed within the text area. (read-only). To set this property call the SetFormula method.
get formula(): Formula Returns Formula
owner
Section titled "owner"Inherited from: ChartTextAreaBase
returns this object's owner. (read-only) The owner or null if this object is owned directly by the Chart
get owner(): ChartObject Returns ChartObject
sheet
Section titled "sheet"Inherited from: ChartTextAreaBase
workbook
Section titled "workbook"Inherited from: ChartTextAreaBase
worksheet
Section titled "worksheet"Inherited from: ChartTextAreaBase
Methods
Section titled "Methods"setFormula
Section titled "setFormula"Inherited from: ChartTextAreaBase
Assigns a new [[Formula]] to this instance.
setFormula(formula: string, cellReferenceMode: CellReferenceMode): void Parameters
- formula:
stringThe string representation of the formula used to get the [[text]].
- cellReferenceMode:
CellReferenceModeA [[CellReferenceMode]] value which specifies whether the 'formula' parameter should be interpreted as an A1 or R1C1 expression. This parameter is optional and defaults to null, in which case the [[Workbook.cellReferenceMode]] property is used.
Returns void
staticInit
Section titled "staticInit"staticInit(): void