OPF
DocsObject referenceView source

Chart Axis Titles

Titles for the axes of a chart. 'category' is the axis that carries the row labels (the horizontal axis of a column or line chart, the vertical axis of a bar chart, the X axis of a scatter chart); 'value' is t…

Metadata

Definition
#/$defs/ChartAxisTitles
Type
object
Source
spec/schemas/opf.schema.json

Field index

FieldTypeReq.Description
categorystring—Title of the category (X) axis.
valuestring—Title of the value (Y) axis. On a combo chart, the primary (left) value axis.
secondarystring—Combo charts only: title of the secondary value axis at the right of the plot, drawn rotated like the primary value axis title. Dropped with a 'chart-option-adapted' diagnostic on any other chart type and on a combo chart without 'secondaryAxis'.

category

typestringrequirednodefault—

Title of the category (X) axis.

category.json
{
  "category": "Quarter"
}

value

typestringrequirednodefault—

Title of the value (Y) axis. On a combo chart, the primary (left) value axis.

value.json
{
  "value": "Revenue ($M)"
}

secondary

typestringrequirednodefault—

Combo charts only: title of the secondary value axis at the right of the plot, drawn rotated like the primary value axis title. Dropped with a 'chart-option-adapted' diagnostic on any other chart type and on a combo chart without 'secondaryAxis'.

secondary.json
{
  "secondary": "Margin (%)"
}