-
Notifications
You must be signed in to change notification settings - Fork 533
excel chart boxwhisker
A dedicated page for the boxWhisker (box plot) chart type. Box-whisker
charts are part of Excel's cx:chart (extended chart, Office 2016+)
family. They display statistical distribution of data showing median,
quartiles, whiskers (min/max), and outliers.
Path: /{SheetName}/chart[N]
See also: Chart - add, Chart - set, histogram for the full shared cx styling vocabulary.
Single series with numeric values. The chart computes Q1, median, Q3, whiskers, and outliers from the raw data.
officecli add data.xlsx /Sheet1 --type chart \ --prop chartType=boxWhisker \ --prop title="Score Distribution" \ --prop series1="Scores:45,52,58,61,63,65,67,68,70,72,75,78,82,85,90,95,99"
| Property | Default | Notes |
|---|---|---|
quartileMethod |
exclusive |
Statistical quartile calculation method |
| Value | Description |
|---|---|
exclusive |
Excludes median from quartile calculation (default, matches Excel) |
inclusive |
Includes median in quartile calculation |
officecli add data.xlsx /Sheet1 --type chart \ --prop chartType=boxWhisker \ --prop series1="Data:10,20,30,40,50,60,70,80,90" \ --prop quartileMethod=inclusive officecli set data.xlsx /Sheet1/chart[1] --prop quartileMethod=exclusive
These are set at creation and not currently user-configurable:
| Element | Default | Description |
|---|---|---|
meanLine |
false |
Line connecting mean values |
meanMarker |
true |
Marker at mean value |
nonoutliers |
false |
Show non-outlier data points |
outliers |
true |
Show outlier data points |
Unlike funnel, treemap, and sunburst, boxWhisker charts have full axis support (both category and value axes):
| Property | Default | Notes |
|---|---|---|
axisMin / min
|
auto | Value axis lower bound |
axisMax / max
|
auto | Value axis upper bound |
majorUnit |
auto | Gridline interval |
xAxisTitle |
— | Category axis title |
yAxisTitle |
— | Value axis title |
axisVisible / axis.visible
|
true |
Show/hide axes |
axisLine / axis.line
|
— | "color:width:dash" |
gridlines |
true |
Value axis gridlines |
BoxWhisker shares the full cx styling vocabulary with funnel, treemap, sunburst, and histogram. See funnel or histogram for the complete property list.
| Feature | Preview | Notes |
|---|---|---|
| Box-whisker rendering | No | Falls back to histogram-like display |
Note: The HTML preview does not have a dedicated box-whisker renderer. Use Excel for visual QA of boxWhisker charts.
- Chart - Overview
- histogram - Related statistical chart
- funnel - Shared cx vocabulary
- histogram - Full cx styling reference
Based on OfficeCLI v1.0.43