Chart

LineChart

Multi-series line chart. Recharts under the hood, themed with design-system tokens.

Preview

Import

ts
import { LineChart } from '@gautham/design-system/charts'

Usage

tsx
<LineChart data={data} xKey="t" yKeys={["requests", "errors"]} />

Renderer: SVG (Recharts)

When not to use

Use for trends with < 5,000 points. Over 5k, switch to MetricChart with the Canvas renderer.