workbookChartLegend resource type
Namespace: microsoft.graph
Important
APIs under the /beta
version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents the legend in a chart.
Methods
Method | Return Type | Description |
---|---|---|
Get workbookChartLegend | workbookChartLegend | Read properties and relationships of chartLegend object. |
Update | workbookChartLegend | Update ChartLegend object. |
Properties
Property | Type | Description |
---|---|---|
overlay | boolean | Boolean value for whether the chart legend should overlap with the main body of the chart. |
position | string | Represents the position of the legend on the chart. The possible values are: Top , Bottom , Left , Right , Corner , Custom . |
visible | boolean | A boolean value the represents the visibility of a ChartLegend object. |
Relationships
Relationship | Type | Description |
---|---|---|
format | workbookChartLegendFormat | Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. |
JSON representation
The following JSON representation shows the resource type.
{
"overlay": true,
"position": "string",
"visible": true,
"format": {"@odata.type":"microsoft.graph.workbookChartLegendFormat"}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for