Charts
Range filter area chart
Range filter area chart: A daily traffic area chart with a range picker in the header that narrows the window to three months, thirty days or seven days and re-tweens the shape.
Using Range filter area chart
Range filter 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.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accentColor | color | #38BDF8 | No additional limit in the metadata. |
secondColor | color | #FF6A1F | No additional limit in the metadata. |
defaultRange | select | 90 days | Options: 90 days, 30 days, 7 days |
showLegend | boolean | true | No additional limit in the metadata. |
animate | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Range filter area chart?
Range filter 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 Range filter area chart depend on?
The React metadata lists these npm dependencies beyond React: motion, radix-ui.
What accessibility details are visible in Range filter area chart?
The React source for Range filter area chart includes: native elements (button); attributes and handlers (aria-hidden, aria-label, onKeyDown, tabIndex); explicit roles (img); key comparisons (ArrowLeft, ArrowRight, End, Escape, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Range filter area chart handle reduced motion?
Range filter 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.