| title | workbookChartFont resource type |
|---|---|
| description | This object represents the font attributes (font name, font size, color, etc.) for a chart object. |
| ms.localizationpriority | medium |
| author | lumine2008 |
| ms.subservice | excel |
| doc_type | resourcePageType |
| toc.title | Chart font |
| ms.date | 08/01/2024 |
Namespace: microsoft.graph
This object represents the font attributes (font name, font size, color, etc.) for a chart object.
| Method | Return Type | Description |
|---|---|---|
| Get | workbookChartFont | Read the properties and relationships of a chartFont object. |
| Update | workbookChartFont | Update a chartFont object. |
| Property | Type | Description |
|---|---|---|
| bold | Boolean | Indicates whether the fond is bold. |
| color | string | The HTML color code representation of the text color. For example #FF0000 represents Red. |
| italic | Boolean | Indicates whether the fond is italic. |
| name | string | The font name. For example "Calibri". |
| size | double | The size of the font. For example, 11. |
| underline | string | The type of underlining applied to the font. The possible values are: None, Single. |
None
The following JSON representation shows the resource type.
{
"bold": true,
"color": "string",
"italic": true,
"name": "string",
"size": 1024,
"underline": "string"
}