Skip to content

Interface: ChartDataLabels ​

Data-label settings (c:dLbls), read from a plot group or from one series.

Properties ​

fill ​

fill: ChartFill | null

The labels' background fill (c:spPr), or null when it states none.


leaderLines ​

leaderLines: ChartLine | null

The leader lines' stroke (c:leaderLines/c:spPr/a:ln), or null when they state none.


numberFormat ​

numberFormat: AxisNumberFormat | null

Label number format (c:numFmt), or null when absent.


position ​

position: string | null

Label position (c:dLblPos/@val), or null when auto.


showBubbleSize ​

showBubbleSize: boolean | null

Show the bubble size (c:showBubbleSize).


showCategoryName ​

showCategoryName: boolean | null

Show the category name (c:showCatName).


showLeaderLines ​

showLeaderLines: boolean | null

Show leader lines (c:showLeaderLines).


showLegendKey ​

showLegendKey: boolean | null

Show the legend key swatch (c:showLegendKey).


showPercent ​

showPercent: boolean | null

Show the percentage (c:showPercent).


showSeriesName ​

showSeriesName: boolean | null

Show the series name (c:showSerName).


showValue ​

showValue: boolean | null

Show the point value (c:showVal).


textStyle ​

textStyle: ChartTextStyle | null

The labels' text formatting (c:txPr), or null when the block states none.