Chart
Chart content. The chart object keeps chart-specific fields together so slides and regions do not expose loose chart fields.
Metadata
Definition
#/$defs/Chart
Type
object
Source
spec/schemas/opf.schema.json
Fields
| Field | Type | Req | Description |
|---|---|---|---|
| type | string | yes | Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand. |
| data | ref:ChartData | ref:ChartDataSource | yes | Chart data. Inline data uses a tabular columns/rows shape; renderers convert rows to chart series internally. |
type
Type: string · Required · Default: —
Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand.
{
"type": "bar"
}data
Type: ref:ChartData | ref:ChartDataSource · Required · Default: —
Chart data. Inline data uses a tabular columns/rows shape; renderers convert rows to chart series internally.
{
"data": "data-value"
}