Chart Data
Inline tabular data driving a chart. The first column usually supplies category/x-axis labels; subsequent columns are plotted measures unless a chart type or renderer maps them differently.
Metadata
Definition
#/$defs/ChartData
Type
object
Source
spec/schemas/opf.schema.json
Fields
columns
Type: array<string> · Required · Default: —
Ordered column labels for the chart data table.
{
"columns": [
"Quarter",
"Revenue"
]
}rows
Type: array<array<ref:ChartDataCell>> · Required · Default: —
Tabular chart rows. Each row aligns by index with columns.
{
"rows": [
[
"Q1",
12
],
[
"Q2",
18
],
[
"Q3",
24
],
[
"Q4",
31
]
]
}