workbookChartLegend 资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示图表中的图例。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 获取 workbookChartLegend | workbookChartLegend | 读取 chartlegend 对象的属性和关系。 |
| 更新 | workbookChartLegend | 更新 chartlegend 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| overlay | 布尔 | 表示图表图例是否应该与图表主体重叠的布尔值。 |
| position | string | 表示图例在图表上的位置。 可能的值包括 Top、Bottom、Left、Right、Corner、Custom。 |
| visible | 布尔 | 表示 ChartLegend 对象的可见性的布尔值。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| format | workbookChartLegendFormat | 表示图表图例的格式,包括填充和字体格式。 只读。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"overlay": true,
"position": "string",
"visible": true,
"format": {"@odata.type":"microsoft.graph.workbookChartLegendFormat"}
}
反馈
提交和查看相关反馈