Chartpack YAML
A chartpack controls how projection data is presented. It selects charts and series, their order, labels, years, axis bounds, colours and line styles. It does not change a model, a shock or an economic result.
A standalone build 199 chartpack is an ordered YAML sequence:
- chartpack:
format: gcubed-chartpack
version: 1
title: Baseline
- chart:
series:
- variable: INFL(USA)
- variable: INFL(CHN)
The first item is metadata. Each later item is a section or chart, and the file must contain at least one chart.
Syntax and recipes
- Document structure and metadata
- Defaults, sections and inheritance
- Exact series
- Series selectors
- Labels, styles and units
- Years and axis bounds
- Chartpacks generated by setup
- Validation and troubleshooting
Standalone chartpacks use color. The concise chartpack declaration in setup YAML uses colour. Keep the two grammars separate.
G-Cubed