| title | workbookChartDataLabels resource type |
|---|---|
| description | Represents a collection of all the data labels on a chart point. |
| author | lumine2008 |
| ms.localizationpriority | medium |
| ms.subservice | excel |
| doc_type | resourcePageType |
| toc.title | Chart data labels |
| ms.date | 08/01/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Represents a collection of all the data labels on a chart point.
| Method | Return Type | Description |
|---|---|---|
| Get | workbookChartDataLabels | Read the properties and relationships of a chartDataLabels object. |
| Update | workbookChartDataLabels | Update a chartDataLabels object. |
| Property | Type | Description |
|---|---|---|
| position | string | DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout. |
| separator | string | String that represents the separator used for the data labels on a chart. |
| showBubbleSize | Boolean | Boolean value that represents whether the data label bubble size is visible. |
| showCategoryName | Boolean | Boolean value that represents whether the data label category name is visible. |
| showLegendKey | Boolean | Boolean value that represents whether the data label legend key is visible. |
| showPercentage | Boolean | Boolean value that represents whether the data label percentage is visible. |
| showSeriesName | Boolean | Boolean value that represents whether the data label series name is visible. |
| showValue | Boolean | Boolean value that represents whether the data label value is visible. |
| Relationship | Type | Description |
|---|---|---|
| format | workbookChartDataLabelFormat | Represents the format of chart data labels, which includes fill and font formatting. Read-only. |
The following JSON representation shows the resource type.
{
"position": "string",
"separator": "string",
"showBubbleSize": true,
"showCategoryName": true,
"showLegendKey": true,
"showPercentage": true,
"showSeriesName": true,
"showValue": true
}