Represents the label of a specific [[DataPoint]].

DataLabel

new DataLabel(): DataLabel

Returns DataLabel

$t: Type

Inherited from: ChartLabelBase

border: ChartBorder

Inherited from: ChartLabelBase

fill: ChartFillBase
height: number

Inherited from: ChartLabelBase

horizontalOverflow: TextHorizontalOverflow
isDeleted: boolean
labelPosition: DataLabelPosition

Inherited from: ChartLabelBase

left: number

Inherited from: ChartLabelBase

numberFormat: string

Inherited from: ChartLabelBase

numberFormatLinked: boolean

Inherited from: ChartLabelBase

position: ElementPosition

Inherited from: ChartLabelBase

readingOrder: ReadingOrder

Inherited from: ChartLabelBase

rotation: number
separator: string
showBubbleSize: boolean
showCategoryName: boolean
showLegendKey: boolean
showPercentage: boolean
showRange: boolean
showSeriesName: boolean
showValue: boolean

Inherited from: ChartLabelBase

text: FormattedString

Inherited from: ChartLabelBase

textDirection: TextDirection

Inherited from: ChartLabelBase

top: number

Inherited from: ChartLabelBase

verticalAlignment: VerticalTitleAlignment

Inherited from: ChartLabelBase

verticalOverflow: TextVerticalOverflow
width: number

Inherited from: ChartLabelBase

wrapText: boolean

Inherited from: ChartLabelBase

Returns the owning chart (read-only)

get chart(): WorksheetChart

Returns WorksheetChart

Inherited from: ChartLabelBase

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

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

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

The owning sheet (read-only)

get sheet(): Sheet

Returns Sheet

Inherited from: ChartLabelBase

The owning workbook (read-only)

get workbook(): Workbook

Returns Workbook

Inherited from: ChartLabelBase

The owning worksheet (read-only)

get worksheet(): Worksheet

Returns Worksheet

Not supported.

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

Parameters

Returns void

staticInit(): void

Returns void