Exact chart series
Use variable when you know the full, case-sensitive projection row name or need a label, colour or order for an individual series. The name must already exist in the CSV; naming a derived variable does not calculate it.
One exact series
- chart:
title: USA inflation
series:
- variable: INFL(USA)
Compare two exact series
- chart:
title: Interest rates
series:
- variable: INTN(USA)
label: Nominal interest rate
- variable: INTR(USA)
label: Real interest rate
style:
color: "#2455a4"
line: dash
First verify that both series have the same units.
Choose a deliberate line order
series:
- variable: INFL(CHN)
- variable: INFL(USA)
- variable: INFL(JPN)
Lines and legend labels follow the authored sequence. Use a selector when you want all matching model members in catalogue order.
Exact series may also set individual start and end years when used in a series-delta chart.
For paired scatter, use x_variable and y_variable together instead of variable. A waterfall also needs a role on each series. Do not repeat a component in a composition or a step in a waterfall: those types reject duplicate variable names to avoid counting a contribution twice.
G-Cubed