Represents the label of a specific [[DataPoint]].
Constructors
Section titled "Constructors"DataLabel
new DataLabel(): DataLabel Returns DataLabel
Properties
Section titled "Properties"$t: Type border
Section titled "border"Inherited from: ChartLabelBase
border: ChartBorder Inherited from: ChartLabelBase
fill: ChartFillBase height
Section titled "height"height: number horizontalOverflow
Section titled "horizontalOverflow"Inherited from: ChartLabelBase
horizontalOverflow: TextHorizontalOverflow isDeleted
Section titled "isDeleted"isDeleted: boolean labelPosition
Section titled "labelPosition"labelPosition: DataLabelPosition Inherited from: ChartLabelBase
left: number numberFormat
Section titled "numberFormat"Inherited from: ChartLabelBase
numberFormat: string numberFormatLinked
Section titled "numberFormatLinked"Inherited from: ChartLabelBase
numberFormatLinked: boolean position
Section titled "position"Inherited from: ChartLabelBase
position: ElementPosition readingOrder
Section titled "readingOrder"Inherited from: ChartLabelBase
readingOrder: ReadingOrder rotation
Section titled "rotation"Inherited from: ChartLabelBase
rotation: number separator
Section titled "separator"separator: string showBubbleSize
Section titled "showBubbleSize"showBubbleSize: boolean showCategoryName
Section titled "showCategoryName"showCategoryName: boolean showLegendKey
Section titled "showLegendKey"showLegendKey: boolean showPercentage
Section titled "showPercentage"showPercentage: boolean showRange
Section titled "showRange"showRange: boolean showSeriesName
Section titled "showSeriesName"showSeriesName: boolean showValue
Section titled "showValue"showValue: boolean Inherited from: ChartLabelBase
text: FormattedString textDirection
Section titled "textDirection"Inherited from: ChartLabelBase
textDirection: TextDirection Inherited from: ChartLabelBase
top: number verticalAlignment
Section titled "verticalAlignment"Inherited from: ChartLabelBase
verticalAlignment: VerticalTitleAlignment verticalOverflow
Section titled "verticalOverflow"Inherited from: ChartLabelBase
verticalOverflow: TextVerticalOverflow width
Section titled "width"width: number wrapText
Section titled "wrapText"Inherited from: ChartLabelBase
wrapText: boolean Accessors
Section titled "Accessors"chart
Section titled "chart"Inherited from: ChartLabelBase
defaultFont
Section titled "defaultFont"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
formula
Section titled "formula"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
owner
Section titled "owner"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
sheet
Section titled "sheet"Inherited from: ChartLabelBase
workbook
Section titled "workbook"Inherited from: ChartLabelBase
worksheet
Section titled "worksheet"Inherited from: ChartLabelBase
Methods
Section titled "Methods"setFormula
Section titled "setFormula"Not supported.
setFormula(formula: string, cellReferenceMode: CellReferenceMode): void Parameters
- formula:
string - cellReferenceMode:
CellReferenceMode
Returns void
staticInit
Section titled "staticInit"staticInit(): void