When to use it
Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.
Render a compact tokenized trend line with optional area fill.
Native example
Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.
LumenSparkline(
values = [12, 18, 15, 24],
label = "Quarterly revenue"
)Reference
The primary shared and platform-specific options exposed by LumenSparkline.
| API | Values or type | Default | Description |
|---|---|---|---|
| label | String | Required | Provides the concise accessible name for the visualization. |
| values | Typed native chart data | Required | Supplies finite values and stable identifiers through the shared chart contract. |
Native behavior
Use canonical visualization tokens and keep the application data model explicit. Provide a concise factual label, and retain the readable native fallback supplied by the component.
Presents one concise image label without exposing decorative marks.
Shared component