Line Chart: Cursor on the Key Point. Native 1920×1080, 6.5s at 30fps.
A trend over time. The line draws through its points, then the cursor glides to the key point and clicks it: an accent ring opens and a tooltip pill pops up with its value.
Motion. Baseline draws; the line draws at an even pace; points pop as reached; the cursor glides in on a soft arc, presses, a ring springs open and the pill rises; the cursor slides away. Why it moves. attention: the line gives the direction, the click says which point to remember.
Mount
Copy every manifest file into your project (plus af-shuffle-runtime). Mount with a unique host id, data-composition-id="af-shuffle-line-chart-16x9", data-composition-src="compositions/af-shuffle-line-chart-16x9.html", data-duration="6.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":40}points (required): {"type":"array","minItems":3,"maxItems":8,"items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":8},"value":{"type":"number","minimum":-1000000,"maximum":1000000}},"required":["label","value"]}}highlight: {"type":"integer","minimum":0,"maximum":7}tip: {"type":"string","minLength":1,"maxLength":20}unit: {"type":"string","minLength":1,"maxLength":6}decimals: {"type":"integer","minimum":0,"maximum":2}min: {"type":"number","minimum":-1000000,"maximum":1000000}max: {"type":"number","minimum":-1000000,"maximum":1000000}note: {"type":"string","minLength":1,"maxLength":48}
highlight is the 0-based point the cursor clicks (default: the last). tip is an optional word before the value in the pill.
Style: colourway (cobalt, tomato, forest), accent (optional hex), footer, ground (paper or black, default paper), exit (lift or cut).
Timing
6.5s. Everything has landed by 3.9s (60%), then the scene holds for reading (the dot grid and the pictures inside their cards drift at a slow residual rate; text stays still) and the content lifts away over the last 0.45 s, leaving the empty ground.
Example
``json { "title": "Rounds of feedback per project", "points": "[{\"label\":\"Jan\",\"value\":6},{\"label\":\"Feb\",\"value\":6},{\"label\":\"Mar\",\"value\":5},{\"label\":\"Apr\",\"value\":3},{\"label\":\"May\",\"value\":2},{\"label\":\"Jun\",\"value\":2}]", "highlight": 3, "tip": "Boards start", "unit": "", "decimals": 0, "min": 0, "max": 7, "note": "Illustrative figures" } ``