Line chart
How a measure changed over time: a 2px line per series, monotone by default, broken where a value is missing.
import { Line } from "@arcadia/ui/charts"TSX
Examples
States
Line
labelrequired- string
- The series' name.
valuesrequired- readonly (number | null | undefined)[]
- A value per row of
x;nullis a gap. colorrequired- string
- The paint of the slot its entity owns:
chartColor(1). curve- "monotone" | "straight" | "step"Default "monotone"
straightfor counts and sparse rows,stepfor a level that holds until it changes.