ChartDataLabels resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

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

Methods

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

Properties

Property Type Description
position string DataLabelPosition value that represents the position of the data label. 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 ChartDataLabelFormat Represents the format of chart data labels, which includes fill and font formatting. Read-only.

JSON representation

Here is a JSON representation of the resource.

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