Skip to content
Menu

Charts

Step area chart

Step area chart: A single series area chart drawn as a staircase where each value is held flat across its slot and jumps vertically at the boundary.

Using Step area chart

Step area chart 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
accentColorcolor#9BE15DNo additional limit in the metadata.
monthsnumber6From 4 to 12; step 1
fillOpacitynumber0.35From 0.05 to 0.7; step 0.05
stepAlignselectafterOptions: after, before, center
animatebooleantrueNo additional limit in the metadata.
Which frameworks are available for Step area chart?

Step area chart 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 Step area chart depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Step area chart?

The React source for Step area chart includes: attributes and handlers (aria-hidden, aria-label, aria-live, 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 Step area chart handle reduced motion?

Step area chart reads the motion preference in its React source through useReducedMotion(). 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