---
## LineChart
Line chart for trends over an ordered category axis. One path
per series on the design-token palette; zero-dependency SVG, responsive,
dark-mode aware, with optional points, gridlines, legend, and a screen-
reader data-table fallback.
**Import:** `import { LineChart } from '@urbicon-ui/blocks';`
### Examples
```svelte
```
### Api
| Prop | Type | Required | Default | Description |
| --- | --- | :---: | --- | --- |
| data | `CartesianDatum[]` | yes | | Ordered categories with per-series values. |
| ...HTMLAttributes | `HTMLAttributes` | no | | HTML attributes (excluding: 'children') |
| ariaLabel | `string` | no | | Accessible label; a summary is generated when omitted. |
| class | `string` | no | | Extra classes merged onto the wrapper. |
| formatValue | `(value: number) => string` | no | | Format values for axis labels, tooltips, and the data table. |
| height | `number` | no | 240 | Height property for the LineChart component |
| includeZero | `boolean` | no | false | Start the value axis at zero instead of framing the data range. |
| locale | `string` | no | | BCP-47 locale for the default number formatter. |
| margin | `ChartMargin` | no | | Plot margins; merged over the defaults. |
| preset | `string` | no | | Apply a named preset registered on ``. |
| series | `ChartSeries[]` | no | | Series metadata (labels + colors); defaults to one per value column. |
| showGrid | `boolean` | no | true | Render horizontal gridlines. |
| showLegend | `boolean` | no | true | Show the series legend (only renders with >1 series). |
| showPoints | `boolean` | no | true | Render a dot at each data point. |
| slotClasses | `ChartSlotClasses` | no | | Per-slot class overrides. |
| unstyled | `boolean` | no | | Remove all default tv classes. |
| width | `number` | no | | Fixed width in px; omit for responsive width. |
Inherited from:
- Omit, 'children'> (omit-pattern)