ChartLegend 资源类型
命名空间:microsoft.graph
表示图表中的图例。
方法
| 方法 | 返回类型 | 说明 |
|---|---|---|
| 获取 ChartLegend | 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"}
}
反馈
提交和查看相关反馈