Chartpacks generated by setup
The concise chartpack block in setup.yaml is not a standalone chartpack. Setup resolves model-aware selectors and writes chartpack.yaml.
Generate one chartpack
chartpack:
title: Policy experiment
first_result_year: 2025
last_result_year: 2050
charts:
- variable_prefix: INFL
selectors:
- dimension: regions
members: [USA, CHN]
Generate several chartpacks
chartpacks:
- file_name: chartpack.yaml
title: Main results
derivations: [GDPRGROWTH]
charts:
- variable_prefix: GDPRGROWTH
selectors:
- dimension: regions
members: all
- file_name: interest_rates.yaml
title: Interest rates
charts:
- variable: INTR(USA)
Exactly one of chartpack and chartpacks is allowed. In plural form every entry needs a unique file_name.
Style a setup series
Setup uses British spelling:
series:
- variable: INTR(USA)
label: USA real interest rate
style:
colour: "#2455a4"
line: dash
The generated standalone file uses color. See the full setup chartpack recipes.
G-Cubed