Represents the title of a [[WorksheetChart]] or [[Axis]].

ChartTitle

new ChartTitle(): ChartTitle

Returns ChartTitle

$t: Type

Inherited from: ChartTextAreaBase

border: ChartBorder

Inherited from: ChartTextAreaBase

fill: ChartFillBase

Inherited from: ChartTextAreaBase

horizontalOverflow: TextHorizontalOverflow

Inherited from: ChartTextAreaBase

left: number
overlay: boolean

Inherited from: ChartTextAreaBase

position: ElementPosition

Inherited from: ChartTextAreaBase

readingOrder: ReadingOrder

Inherited from: ChartTextAreaBase

rotation: number

Inherited from: ChartTextAreaBase

text: FormattedString

Inherited from: ChartTextAreaBase

textDirection: TextDirection

Inherited from: ChartTextAreaBase

top: number

Inherited from: ChartTextAreaBase

verticalAlignment: VerticalTitleAlignment

Inherited from: ChartTextAreaBase

verticalOverflow: TextVerticalOverflow

Inherited from: ChartTextAreaBase

wrapText: boolean

Inherited from: ChartTextAreaBase

Returns the owning chart (read-only)

get chart(): WorksheetChart

Returns WorksheetChart

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

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

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

Inherited from: ChartTextAreaBase

The owning sheet (read-only)

get sheet(): Sheet

Returns Sheet

Inherited from: ChartTextAreaBase

The owning workbook (read-only)

get workbook(): Workbook

Returns Workbook

Inherited from: ChartTextAreaBase

The owning worksheet (read-only)

get worksheet(): Worksheet

Returns Worksheet

Inherited from: ChartTextAreaBase

Assigns a new [[Formula]] to this instance.

setFormula(formula: string, cellReferenceMode: CellReferenceMode): void

Parameters

  • formula: string

    The string representation of the formula used to get the [[text]].

  • cellReferenceMode: CellReferenceMode

    A [[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(): void

Returns void