Wick Charts
import { LineSeries } from '@wick-charts/react';
 
<LineSeries data={data} />

Renders one or more line/area layers from time-series data. Each entry in the data array becomes a separate stroked path (and optional gradient fill) sharing the same axes and stacking mode. Pass series options via options — they merge with the chart-level defaults.

Renders one or more line/area layers from time-series data. Each entry in the data array becomes a separate stroked path (and optional gradient fill) sharing the same axes and stacking mode. Pass series options via options — they merge with the chart-level defaults.

Props

dataTimePoint[][]

Array of datasets — one per layer. A single line uses [data].

timenumber

Unix milliseconds.

valuenumber

Y-axis value at this point. Drives the line height / bar height.

options?Partial<LineSeriesOptions>

Visual options override — colours per layer, stroke width, area fill, stacking, entrance animation, smoothing.

id?string

Stable series ID — same value across remounts.