Skip to content

Multi-line chart

A few series on one time axis.

Definition · Updated Nov 2, 2026

A multi-line chart puts several series on one shared time axis, so you can see which one leads, which one lags and when they cross. Each line keeps its own colour, named in the legend. Use it for regions, models or products measured the same way.

Pay once. Every update included.

Live preview

Latency by regionP95 time to first token per hour over the last 24 hours, 4 regions; now: US-East 360 ms, EU-West 394 ms, AP-South 594 ms, SA-East 518 ms.900600300000:0006:0012:0018:00NOWUS-EASTEU-WESTAP-SOUTHSA-EAST
Latency by region
HourUS-East (ms)EU-West (ms)AP-South (ms)SA-East (ms)
00:00352297663515
01:00368326699493
02:00358341658479
03:00362326685479
04:00337315696506
05:00362340713469
06:00343352718495
07:00365332724533
08:00390344726508
09:00419330705530
10:00430338697540
11:00396346657526
12:00391370625517
13:00369394653552
14:00354420639516
15:00326403655539
16:00323420647513
17:00303394670533
18:00317379662506
19:00349380638497
20:00359364618516
21:00345393583484
22:00370403575521
23:00360394594518

Sample data: P95 time to first token in four regions, last 24 hours

Size
Legend
Data shape
Two to six series, one value per point
Good for
Regions, models, plans side by side
Avoid when
More than six series, or the total matters
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

012 / Multi-line

chart/012-multi-line
plot · multi line
Layer
line · eu
Type
Vector
Size
724 × 32
Stroke
data/cat-2
Group
Marks · 4

Layers

012 / Multi-line

chart/012-multi-line
plot · multi line
Layer
line · eu
Type
Vector
Size
243 × 13
Stroke
data/cat-2
Group
Marks · 4

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels99

Marks44

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Who leads, over time.

Three signs it fits, and three signs another type fits better.

Are there six series or fewer?

Too many lines to follow.

Yes: Keep the multi-line

Do the series share one unit?

Two units need two axes.

Yes: Keep the multi-line

Do the values matter, not only the rank?

Only the order matters.

Yes: Keep the multi-line

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/012-multi-line

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/multi-line
multi-line.tsx
import { MultiLine } from "@/components/chartory/multi-line"import { ttftByRegion } from "./ttft-by-region"export function TtftByRegion() {  return (    <MultiLine      data={ttftByRegion}      size="m"      legend={true}    />  )}

Hearth widget

Multi-line as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Code
Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Multi-line questions.

What people ask before they put a multi-line in a dashboard.

Something else?

hello@usechartory.com
  • Four in the sample, each in its own data colour. Past five or six the crossings get hard to follow; a horizon chart keeps many series readable.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Change over time

Trends, levels and seasons across days, months or years.