Skip to content
Menu

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.

ControlTypeDefaultPreview limits
accentcolor#F5C542No additional limit in the metadata.
horizonnumber6From 2 to 12; step 1
curveKindselecteasedOptions: linear, eased
dashedbooleantrueNo additional limit in the metadata.
fadeOutbooleantrueNo additional limit in the metadata.
showEndMarkerbooleantrueNo 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.

Connect your agent

Related open components