Skip to content
Esc
navigateopen⌘Jpreview

line-chart

Time-series path draw with optional focal annotation.

The same runtime that renders the export. Scrub to any frame, switch format, and edit the fixture props.

Installation

pnpm odori add @odori/line-chart

Source is copied into videos/components/line-chart/ and belongs to your repository. odori diff compares it with upstream later; odori update applies the change you accept. It has no registry dependencies.

Timing contract

Every registry component declares how it behaves in time.odori test fails a cut that violates these.

Family
Data
Aspect ratios
16:9 · 1:1
Recommended duration
120 frames · 4s
Minimum duration
78 frames · 2.6s
Entrance
64 frames
Exit
0 frames
Reduced motion
the full path is drawn immediately
Requires
sans font
Content limits
points ≤ 16

Props

PropTypeDefaultRequired
valuesOne value per step, drawn left to right.number[]Yes
titlestring
annotateIndexIndex to annotate once the path finishes drawing.number
annotationstring