boxPlot
Configuration Structure
boxPlot: {}plotOptions
upper
Color for the upper quartile (Q3 to median) of the box plot.
lower
Color for the lower quartile (median to Q1) of the box plot.
points
Overlay each box with its individual observations as small jittered dots, so the reader sees the raw distribution behind the summary. Inert unless a data point supplies a points: number[] array of the raw values, and off by default so existing box plots are unchanged.
series: [{
data: [
{ x: 'Team A', y: [54, 66, 69, 75, 88], points: [51, 58, 63, 67, 70, 74, 79, 86] }
]
}],
plotOptions: {
boxPlot: {
points: {
show: true,
jitter: 0.6
}
}
}
show
falseDraw the observation dots. Requires each data point to carry a points array.
shape
'circle'Marker shape for each dot.
Available Options:
- circle
- square
size
2.5Marker radius, in pixels.
jitter
0.5Horizontal spread, as a 0..1 fraction of the box half-width. 0 stacks the dots on the centre line; higher values fan them out.
maxPoints
3000Cap on the number of dots drawn per box. Boxes with more observations are stride-thinned down to this count.
opacity
0.9Opacity of the dots.
fillColor
'series-dark'Dot fill colour. 'series-dark' (the default) is a darker shade of the series colour; 'series' uses the series colour; or pass any literal colour string.
strokeColor
'#fff'Colour of the outline around each dot.
strokeWidth
1Width of the dot outline, in pixels. 0 disables it.
colorScale
Colour each dot by its value along a colour ramp, overriding fillColor. Pass { colors, min, max, steps }. Dots are bucketed into steps shades to keep rendering fast.