ChartDataLabels resource type

Namespace: microsoft.graph

Represents a collection of all the data labels on a chart point.

Methods

Method Return Type Description
Get ChartDataLabels WorkbookChartDataLabels Read properties and relationships of chartDataLabels object.
Update WorkbookChartDataLabels Update ChartDataLabels object.

Properties

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 representing the separator used for the data labels on a chart.
showBubbleSize boolean Boolean value representing if the data label bubble size is visible or not.
showCategoryName boolean Boolean value representing if the data label category name is visible or not.
showLegendKey boolean Boolean value representing if the data label legend key is visible or not.
showPercentage boolean Boolean value representing if the data label percentage is visible or not.
showSeriesName boolean Boolean value representing if the data label series name is visible or not.
showValue boolean Boolean value representing if the data label value is visible or not.

Relationships

Relationship Type Description
format WorkbookChartDataLabelFormat Represents the format of chart data labels, which includes fill and font formatting. Read-only.

JSON representation

The following JSON representation shows the resource type.

{
  "position": "string",
  "separator": "string",
  "showBubbleSize": true,
  "showCategoryName": true,
  "showLegendKey": true,
  "showPercentage": true,
  "showSeriesName": true,
  "showValue": true
}