Line Chart: The Handrail. Native 1920×1080, 7.5s at 30fps.
A trend over three to seven points. A handrail on posts rises and falls across the water (zero at the waterline); a figure walks along it as it draws, and each value ticks on above its post; labels sit on the water.
Motion. Posts lift; the rail draws left to right at the walker's pace; the walker leans with the slope; values type on as the walker passes; at the end it raises its arms. Why it moves. change: the trend is a path someone walks, uphill or down.
Mount
Copy every manifest file into your project (plus af-archetype-runtime). Mount with a unique host id, data-composition-id="af-archetype-line-handrail-16x9", data-composition-src="compositions/af-archetype-line-handrail-16x9.html", data-duration="7.5" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
title (required): {"type":"string","minLength":1,"maxLength":44}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}max: {"type":"number","minimum":0.000001,"maximum":1000000}items (required): {"type":"array","minItems":3,"maxItems":7,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":8},"value":{"type":"number","minimum":0,"maximum":1000000}},"required":["label","value"]}}
- Values must be 0 or more; the waterline is zero and
max sets the top (defaults to the largest value). Illustrative figures should say so in the title or a callout.
Style: colourway (void, abyss, dusk), accent (optional hex for the tip colour), footer, enter / exit (dark or cut).
Timing
7.5s. Everything has landed by 4.5s (60%), then the scene holds for reading (figures keep a small idle, ripples spread, text stays still). It fades up out of black and closes to black over the last 0.5 s.
Example
``json { "title": "Effort it takes, *week by week*", "unit": "", "decimals": 0, "items": "[{\"label\":\"Wk 1\",\"value\":9},{\"label\":\"Wk 2\",\"value\":8},{\"label\":\"Wk 3\",\"value\":6},{\"label\":\"Wk 4\",\"value\":4},{\"label\":\"Wk 5\",\"value\":3}]" } ``