Range Area Chart

A band from a low to a high value with an optional line inside — temperature from min to max with the average, a forecast with its confidence range. Drawn as SVG by the component, rendered on the server and themed by the design tokens.

Part of @tectra-ng/charts (npm install @tectra-ng/charts, also included in tectra-ng).

Features10APIThemingAccessibility

Basic

The band runs from low to high, the line runs inside it. Hover a month: the tooltip shows the line value with the range beside it.

Arrow keys move between values
Temperature by month. Range area chart, 1 series, 12 values, from -6 to 27
CategoryLowTemperatureHigh
Jan-6-30
Feb-5-21
Mar-137
Apr51015
May111622
Jun152025
Jul172227
Aug162126
Sep111520
Oct6913
Nov135
Dec-3-11

Forecast

Dates with xType="time". The forecast band widens with time while null keeps the past empty; an actual series with equal low and high draws a plain line.

Arrow keys move between values
Orders and the forecast with its range. Range area chart, 2 series, 16 values, from 3.4K to 5.6K
CategoryForecast, LowForecastForecast, HighActual, LowActualActual, High
Sep 7, 2026———3.4K3.4K3.4K
Sep 14, 2026———3.6K3.6K3.6K
Sep 21, 2026———3.5K3.5K3.5K
Sep 28, 2026———3.7K3.7K3.7K
Oct 5, 2026———3.8K3.8K3.8K
Oct 12, 2026———3.9K3.9K3.9K
Oct 19, 2026———4.1K4.1K4.1K
Oct 26, 2026—4.3K—4.3K4.3K4.3K
Nov 2, 20264.1K4.3K4.5K———
Nov 9, 20264K4.3K4.7K———
Nov 16, 20264K4.4K4.8K———
Nov 23, 20263.9K4.4K5K———
Nov 30, 20263.9K4.5K5.1K———
Dec 7, 20263.8K4.5K5.3K———
Dec 14, 20263.7K4.6K5.4K———
Dec 21, 20263.7K4.6K5.6K———

Several

Several bands overlap softly; the legend hides one, hovering an item fades the others. curve="straight" and edges change the look.

Arrow keys move between values
Latency range by region. Range area chart, 2 series, 8 values, from 38 to 160
CategoryEurope, LowEuropeEurope, HighAsia, LowAsiaAsia, High
0040558070100150
0338527674108160
064258856692130
096085130527095
1272101160486690
157098150506892
1864901405880110
2150701006492135

Events

pointClick reports the clicked category with the low, the high and the line value of the series under the pointer.

Arrow keys move between values
Click a part. Range area chart, 1 series, 5 values, from 120 to 360
CategoryLowVisitorsHigh
Mon120180260
Tue140210300
Wed130200280
Thu150230320
Fri170260360

Click the chart.

Loading and empty

loading keeps the size with a skeleton; empty series show "No data".

No data

Live

New series redraw in place — the band and the line morph to their new shape.

Arrow keys move between values
Shuffled data. Range area chart, 1 series, 5 values, from 30 to 71
CategoryLowLoadHigh
Mon324050
Tue465771
Wed304462
Thu536171
Fri374862

Accessibility

Tab to the chart: ←/→ walk the categories, ↑/↓ the series, and each value is announced with its range. Screen readers also get a summary and a hidden table.

Arrow keys move between values
Heart rate during the week. Range area chart, 1 series, 7 values, from 50 to 165
CategoryLowHeart rateHigh
Mon5268142
Tue5570128
Wed5066151
Thu5469133
Fri5371120
Sat5875165
Sun5664110

Design tokens

dt sets the band opacity, the edge and line widths and the palette of one chart.

Arrow keys move between values
Custom band. Range area chart, 1 series, 5 values, from 10 to 19
CategoryLowPriceHigh
Mon101214
Tue121416
Wed111315
Thu131518
Fri151719

Pass through

pt reaches the parts — band, edge, line, marker, crosshair, grid, axis, legend, plot, tooltip and more.

Arrow keys move between values
Dashed edges. Range area chart, 1 series, 5 values, from 20 to 60
CategoryLowLoadHigh
Mon203245
Tue253852
Wed223548
Thu304460
Fri284155

Unstyled

unstyled removes the tectra styles: no tokens, no motion — the geometry, the colours, the tooltip and the keyboard stay, ready for your own CSS.

Arrow keys move between values
Unstyled chart. Range area chart, 1 series, 4 values, from 1 to 7
CategoryLowRangeHigh
A124
B246
C135
D357