[data-reveal]{opacity:1!important;transform:none!important}
Range area chart
Components

Range area chart

A filled band between a low and a high per point — percentiles, confidence intervals, forecasts.

ChartRangeArea plots a band per series instead of a curve: each point is { x, y: [low, high] }. Percentile bands read as one distribution when you send adjacent ranges — p50 – p95, then p95 – p99.

Range Area ChartChartRangeArea
Connecting to the DMS preview…
ConnectingDMS 0.9.55 options set

Usage

src/pages/dashboard.ts
import { ChartRangeArea } from "@antelopejs/interface-dms/base/chart";

static distribution = ChartRangeArea({
  title: "$api.metrics.latency_distribution",
  fetchUrl: "/api/metrics/latency-bands",
  fillOpacity: 0.35,
});

The route answers { series } in the shape listed under Data shapes. Wrap the chart in a ChartCard to add a headline value and a comparison.

Options

Options of the Range Area Chart block
OptionTypeDefaultDescription
titleContentstring–
descriptionContentstring–
colorAppearancestring | string[]–
heightAppearancestring–
widthAppearancenumber–
showTooltipAppearancebooleantrue
showLegendAppearancebooleantrue
legendPositionAppearance"top" | "bottom"–
showGridAppearancebooleantrue
yRange.min*Appearancenumber–
yRange.max*Appearancenumber–
comparisonStyleAppearance"dashed" | "solid" | "dimmed"–
smoothAppearancebooleantrue
curveAppearance"smooth" | "straight" | "stepline"–
xaxisTypeAppearance"category" | "datetime" | "numeric"–
fillOpacityAppearancenumber–

Recipes

A band with a line on top

rangeArea is also a valid seriesDefs type of a mixed chart, so a band can carry a plain median line.

Next steps

Charts

Colors, annotations, events and the other chart types.

Chart card

Frame the chart with its headline value.