Chart

Boxplot

Web supportediOS supportedAndroid supported

Compare five-number summaries and outliers across groups.

ECharts boxplot series · View source

When to use

Use to compare distributions when raw observations are not required.

Props

The chart's own props first, then the shared ones this form reads.

PropTypeDefaultDescription
groups*ChartBoxplotGroup[]Five-number summaries and optional outliers.
labels*BoxplotLabelsTranslated labels for summary statistics.
formatChartNumberFormatNumber formatting shared by axes, labels and tooltips.
orientation"horizontal" | "vertical""vertical"Direction of the value axis.
axisChartAxes{ x: true, y: true }Horizontal and vertical axis visibility.
texturebooleanfalseDraws decal patterns over fills — a second encoding on top of hue, for full colour-vision deficiency, print and forced-colors.
classNamestringCSS class applied to the chart root.
heightnumber240Plot height in px. A chart never measures its own content, so this is what reserves the space.
isLoadingbooleanfalseHeld true while the data is in flight. Shows the matching skeleton, then cross-fades into the plot.
skeletonReactNodeReplaces the built-in placeholder while isLoading is true. Takes a rendered element.
surfaceChartSurfaceThe container the plot sits in — background, border, corner radius, padding. Merges over Chart.Provider, key by key.