Defines the properties for all data labels displayed for this [[Series]].

SeriesDataLabels

new SeriesDataLabels(a: Series): SeriesDataLabels

Returns SeriesDataLabels

$t: Type

Inherited from: DataLabel

border: ChartBorder

Inherited from: DataLabel

fill: ChartFillBase

Inherited from: DataLabel

height: number

Inherited from: DataLabel

horizontalOverflow: TextHorizontalOverflow

Inherited from: DataLabel

isDeleted: boolean

Inherited from: DataLabel

labelPosition: DataLabelPosition

Inherited from: DataLabel

left: number

Inherited from: DataLabel

numberFormat: string

Inherited from: DataLabel

numberFormatLinked: boolean
parentLabelLayout: ParentLabelLayout

Inherited from: DataLabel

position: ElementPosition

Inherited from: DataLabel

readingOrder: ReadingOrder

Inherited from: DataLabel

rotation: number

Inherited from: DataLabel

separator: string

Inherited from: DataLabel

showBubbleSize: boolean

Inherited from: DataLabel

showCategoryName: boolean
showLeaderLines: boolean

Inherited from: DataLabel

showLegendKey: boolean

Inherited from: DataLabel

showPercentage: boolean

Inherited from: DataLabel

showRange: boolean

Inherited from: DataLabel

showSeriesName: boolean

Inherited from: DataLabel

showValue: boolean

Inherited from: DataLabel

text: FormattedString

Inherited from: DataLabel

textDirection: TextDirection

Inherited from: DataLabel

top: number

Inherited from: DataLabel

verticalAlignment: VerticalTitleAlignment

Inherited from: DataLabel

verticalOverflow: TextVerticalOverflow

Inherited from: DataLabel

width: number

Inherited from: DataLabel

wrapText: boolean

Inherited from: DataLabel

Returns the owning chart (read-only)

get chart(): WorksheetChart

Returns WorksheetChart

Returns a [[Formula]] which defines the cell range from which part or all of the label text is obtained.

get dataLabelsRange(): Formula

Returns Formula

Inherited from: DataLabel

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: DataLabel

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: DataLabel

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: DataLabel

The owning sheet (read-only)

get sheet(): Sheet

Returns Sheet

Inherited from: DataLabel

The owning workbook (read-only)

get workbook(): Workbook

Returns Workbook

Inherited from: DataLabel

The owning worksheet (read-only)

get worksheet(): Worksheet

Returns Worksheet

Assigns a [[Formula]] to the [[dataLabelsRange]]

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

Parameters

  • formula: string

    The string representation of the formula used to obtain the data label 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

Inherited from: DataLabel

Not supported.

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

Parameters

Returns void

staticInit(): void

Returns void