Charts
Forecast tail line
Forecast tail line: A dashed continuation that carries a series past its last real point to a horizon, drawing itself out and landing on a hollow marker.
Using Forecast tail line
Forecast tail line uses the wide preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #F5C542 | No additional limit in the metadata. |
horizon | number | 6 | From 2 to 12; step 1 |
curveKind | select | eased | Options: linear, eased |
dashed | boolean | true | No additional limit in the metadata. |
fadeOut | boolean | true | No additional limit in the metadata. |
showEndMarker | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Forecast tail line?
Forecast tail line is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Forecast tail line depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Forecast tail line?
The React source for Forecast tail line includes: attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowLeft, ArrowRight, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Forecast tail line handle reduced motion?
Forecast tail line reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: delay: reduce ? 0 : 0.42; duration: reduce ? 0 : 0.5; duration: reduce ? 0 : 0.8. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.