# Straight Segment Area Chart

https://fieldbook.lizardi.mx/components/straight-segment-area-chart

Category: Charts
![Still of the Straight Segment Area Chart component, a Fieldbook UI component in Charts.](https://fieldbook.lizardi.mx/thumbs/straight-segment-area-chart.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/straight-segment-area-chart-8175a3d66f.mp4 (5 s, silent)

Straight Segment Area Chart: A single series area chart built from straight segments between points, so the outline reads as a sharp faceted polyline instead of a curve.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accentColor | color | #FF4D8D | No additional limit in the metadata. |
| months | number | 6 | From 4 to 12; step 1 |
| fillOpacity | number | 0.35 | From 0.05 to 0.7; step 0.05 |
| dotSize | number | 5 | From 3 to 10; step 1 |
| animate | boolean | true | No additional limit in the metadata. |

## Usage notes

Straight Segment Area Chart uses the wide preview frame with a light/dark theme setting.

### Which frameworks are available for Straight Segment Area Chart?

Straight Segment 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 Straight Segment Area Chart depend on?

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

### What accessibility details are visible in Straight Segment Area Chart?

The React source for Straight Segment 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 Straight Segment Area Chart handle reduced motion?

Straight Segment Area Chart reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "straight-segment-area-chart",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Smooth Area Trend](https://fieldbook.lizardi.mx/components/smooth-area-trend-chart)
- [Step area chart](https://fieldbook.lizardi.mx/components/step-area-chart)
- [Area chart lite](https://fieldbook.lizardi.mx/components/area-chart-lite)
- [Gradient Area Chart](https://fieldbook.lizardi.mx/components/gradient-fill-area-chart)
- [Gridline area chart](https://fieldbook.lizardi.mx/components/gridline-area-chart)
- [Spoke area chart](https://fieldbook.lizardi.mx/components/spoke-area-chart)
