Column chart reference

Column examples

Contents: Use cases, Chart IDs, Minimal spec, Data, Options, Annotations, Dense value labels, Sizing, Fixtures.

Grouped, stacked, or 100%-stacked vertical bars; stacked columns can integrate an external PY tick and derived growth. Type column.

Use cases

Chart IDs

Minimal spec

{
  "type": "column",
  "data": {
    "categories": [{ "id": "north", "label": "North" }, { "id": "south", "label": "South" }],
    "series": [{ "id": "revenue", "label": "Revenue", "values": [120, 90] }]
  },
  "options": { "unit": "$k", "title": "North revenue exceeds South by $30k", "source": "Illustrative data" }
}

Data

A cell is a number, null or a value object; see Value cell.

PathTypeRequiredMeaning
valueKindstringDefault valueKind for all series. One of 'fraction'.
categoriesarrayyesOrdered categories defining the displayed columns or positions and positional value alignment.
categories[].idstringyesCategory identity used to match keyed values and annotation anchors.
categories[].labelstringDisplayed category name; defaults to the category id and supports line breaks. A date id or date without a label prints a short date such as 'Sep'. Day ticks include the month ('2 Oct', or 'Fri 2 Oct' where room allows). A separate row carries the year under day, month and quarter ticks.
categories[].datestringISO 8601 category date, yyyy-mm-dd; strictly increasing dates permit date-axis promotion where supported.
categories[].total100numberAuthored quantity represented by 100%; otherwise percentage variants derive their basis from the category values.
categories[].gapAfterboolean | numberExtra band-step fractions after this category; true defaults to 0.5.
categories[].breakAfterbooleanCategory axis break after this category: a gap of at least half a band step with the straight break glyph on the category baseline. Series connectors and net-line steps do not cross it.
categories[].footnoteinteger1-based reference into options.footnotes. The number is drawn beside this category label as the reference mark, and the note it points at keeps that number; a reference to no note draws nothing and warns, and notes the engine derives print unnumbered.
categories[].partialbooleanPeriod still running, such as the current week. Bars and segments on it are hatched and line markers on it are hollow; marks keep their positions. A drawn key names the running category once as "<label> to date". With no such key, the frame adds that note.
categories[].rolestring'total' sets a summary column apart: gap and divider before it, bold head and values, no ribbons or connectors into it. On stacked100 with all its cells null and total100 (respondent base) on every other column, it prints the base-weighted share Σ total100 × share / Σ total100 (a percent cell is the share as authored, a count cell's share is count / total100), not the mean of the group shares. A series with a null in some group keeps an empty total cell and warns total-not-computed. One of 'data', 'total'.
seriesarrayyesSeries supplying values for each category, with optional reference series for comparisons.
series[].kindstringAccepted for combo-shaped data. Ignored here. A kind that differs from the chart type is refused. One of 'column', 'line', 'area'.
series[].axisstringAccepted for combo-shaped data. Ignored here. A kind that differs from the chart type is refused. One of 'primary', 'secondary'.
series[].valueKindstringMultiply numbers by 100 into pct cells; explicit pct cells stay in percent units. One of 'fraction'.
series[].idstringyesSeries identity used by keyed options, annotations and legend entries.
series[].labelstringDisplayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").
series[].values(cell | { categoryId, value: cell })[]yesValues in category order, or keyed entries pairing a categoryId with its value.
series[].scenariostringAC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case. Controls scenario labels and paint conventions.
series[].directionstringWhether increases are favorable; defaults to higherIsBetter for directional comparisons. One of 'higherIsBetter', 'lowerIsBetter'.
series[].rolestringData series or comparison-only reference series; references are excluded from the main plotted data. One of 'data', 'reference'.
series[].colorRolestringTheme color role used for this series when no explicit fill takes precedence. One of good, bad, warn, neutral, neutralLight, highlight, total, others; series-N for step N of the theme ramp, 1-based (series-2 is color.series[1]); or status-<key> for a theme status color. A hex color goes in fill.
series[].fillstringExplicit CSS fill color for this series; remains authored across theme changes.
series[].unitstringUnit of this series' values, used to check shared-scale compatibility. Without a format example, a $k, $m, k or m unit prints its labels whole from 100 up, in place of options.unit.
series[].formatstringFormat-by-example for this series' labels, for example 1,234 or 1.2%. Overrides options.format.

Options

PathTypeValuesDefaultMeaning
labelDensitystring'full', 'smart', 'minimal'Value-label density. Default 'smart': every value stays eligible. A chart with more than 12 categories, or with most labels wider than the band, ranks the first, last, highest and lowest value (ties: the first) first. The other values then use only their natural seat beside the mark; with none free they are drawn nowhere and left out of the note. Those four may take one step, and the note names any that finds no seat. A smaller chart keeps every value on the bounded one-step rule and names any that finds no seat. 'full' treats all values alike and names every one that finds no seat. 'minimal' also applies the shared priority gate. Seats stay inside the plot band and one step from the natural seat. All values remain in reading records. When valueLabels is set, it wins: labelDensity is not read for the value labels.
legendstring | object'top', 'bottom', 'right', 'left', 'none', 'auto' (or another value of its type)Key position. Multiple series get a key by default unless visible direct labels name them all. 'none' hides the key and warns if names are missing. Subtitle and footnote mentions do not replace the key.
valueAxis.breakfalse | objectfalse (or another value of its type)No break by default or with false. Set { from, to, style? } for a straight value-axis break; the omitted span collapses to a fixed 12px gap when valid. Automatic placement is supported only by waterfall and pvm.
categoryAxisobjectCategory-axis settings: dateTicks.
axisTitlesobjectTitle over the value axis when valueAxis.show draws it, in the top row left of the plot. A theme with valueAxis.titles derives 'Measure, unit' from subtitle.measure and a unit the drawn subtitle does not print, when none is authored.
axisTitles.primarystring'Measure, unit' title over the value axis, e.g. 'Revenue, €m'.
valueLabelsstring'none', 'last', 'ends', 'extremes', 'all'Which values print, with line's choices: 'none', 'last', 'ends' (first and last), 'extremes' (first, last, highest and lowest; a tie takes the first) or 'all', chosen per series over the categories in their drawn order. Unset (default): every value is eligible and labelDensity decides. When set, valueLabels wins over labelDensity: each chosen value takes the one-step rule of 'full', and one with no seat is named in the note. A value not chosen is unlabeled by choice: the note does not name it, and the value axis is drawn so it stays readable (all modes but 'all'; valueAxis.show false turns it off). Authored cell labels and flagged anomaly periods print in every mode. Grouped only: a stack has no single value per category, so stacked and stacked100 ignore every mode but 'all' with an option-ignored warning and keep their normal labels and value axis. Example: 24 monthly columns with 'extremes' print the first, peak, low and last value.
variantstring'grouped', 'stacked', 'stacked100''grouped'Vertical arrangement: grouped by default, stacked in raw units, or stacked100 as category percentages. Plain stacked series use theme.overrides.color.stack, not color.series. Set options.palette or series fill for categorical colors.
grandTotalLabelsbooleanShow category stack-total labels in addition to segment labels; default on for the stacked variant and off for stacked100, where every bar would end on the same share. true keeps the absolute total on a 100% stack.
sharesOfOneWholebooleantrue declares every stacked series a share of the same whole, such as channel shares of all orders: the stack then has a total, and percent series warn non-additive-stack only where a category adds to more than 100. Stacked and stacked100 only; refused on other variants.
referenceStylestring'tick', 'line', 'marker''tick'Reference-series mark style; defaults to tick.
referenceTickobjectWhere the reference tick draws, read under referenceStyle 'tick' only. A tick beside its column (the integrated PY tick of a stacked column) is unchanged.
referenceTick.positionstring'behind', 'front''behind'Where a plan tick draws. 'behind' (default): behind its column, reaching up to 4 px past each side (2 px where a plan value beside it needs the room), so the column stays whole and the ends mark the plan; a column short of its plan prints its value inside its end. 'front': over the column on a page-color band, 2 px past each side, the earlier look.
netLineboolean | objectPer-category ticks at a cumulative boundary of stacked columns, connected by default.
netLine.seriesIdstringSeries whose cumulative boundary receives a tick; omitted uses the positive stack top, or the negative stack bottom when no value is positive.
netLine.connectorsbooleanConnect adjacent category ticks as a stepped line; defaults to true for columns.
averageMarkerboolean | objectComputed dashed average rule with a solver-placed Ø label.
averageMarker.scopestring | array'all' (or another value of its type)Series included in the computed average; defaults to 'all'.
averageMarker.includePartialbooleantrue averages the categories marked partial too. By default they are left out, and the label names the periods the average covers. Column, bar and combo.
connectorsboolean | objectConnect matching series boundaries between adjacent stacked columns.
connectors.stylestring'line', 'dashed'Connector stroke: solid 'line' (default) or 'dashed', matching the waterfall bridge's dash.
connectors.scopestring | array'all' (or another value of its type)Series boundaries to connect; defaults to 'all'.
ribbonsboolean | objectRibbon chart: translucent bands (S-curves when ranked, straight in sheet order) join each series' segments in adjacent columns. Stacked variants only. Only for ordered columns (periods, waves, age bands); between nominal groups a band implies a false flow, so use connectors. Ranked ribbons narrow the columns; names default to seriesLabels right-edge; bands stop at a gap, break or total column. Over 6 ranked series warn ribbon-crowded. Not a sankey: nothing splits or merges.
ribbons.orderstring'rank', 'sheet''rank' (stacked default) stacks each column by its own values, largest on top; a crossing is a rank swap. 'sheet' (stacked100 default) keeps the series order, as an answer scale needs.
ratioTierobjectBelow-axis ratio tier computed from normalized chart series cells; authored ratio values are not accepted.
ratioTier.idstringStable id for the derived ratio tier.
ratioTier.labelstringQuiet caption explaining what the ratio badges measure.
ratioTier.numeratorSeriesIdstringSeries used as the computed ratio numerator.
ratioTier.denominatorSeriesIdstringSeries used as the computed ratio denominator.
ratioTier.atarraySelected category ids that receive a computed ratio trace.
ratioTier.formatstringFormat-by-example for computed percentage points, e.g. '1.2pp' or '88%'.
ratioTier.directionstring'higherIsBetter', 'lowerIsBetter'Whether an increase in the computed ratio is favorable; controls semantic treatment where supported.
seriesRampbooleantrue paints the data series on the theme's ordered ramp instead of its categorical palette, for series whose order is the encoding (acquisition cohorts, oldest first): the first series takes the full mark ink, each later one a weaker rung, and every rung reaches 3:1 on the page in the light and the dark scheme. A series fill or colorRole keeps its own paint. Default false.
othersShadestring'quietest', 'apart'With seriesRamp and a Rest series (colorRole 'others'): how the ramp sits beside Rest. Default 'quietest'. 'quietest': Others is the quietest part, so every named step has more contrast against the background than Others and none matches it. 'apart': named steps only differ from Others, and some may be quieter. If Others is stronger than the first named step, the ramp falls back to 'apart' and the chart warns others-shade-unavailable.
signColorbooleanPaint each column good/bad/neutral by sign(value) × series.direction (zero is neutral). Under series.direction 'lowerIsBetter' the encoding INVERTS — positives paint bad, negatives good — so the chart brings its own legend naming the polarity in words; suppressing it with legend 'none' is reported as legend-suppressed-encoding. Requires variant 'grouped' with exactly one data-role series; anything else is refused with sign-color-unsupported. Cells with an explicit fill, a highlight, or the topN 'Others' bucket keep their own paint and report sign-color-overridden.
anomalyobjectFlag exceptional periods against a visible, named corridor. 'mad' applies the modified z-score |x − c| / (1.4826 × MAD) > k, which does not let an outlier inflate its own threshold; 'threshold' applies authored bounds with no statistics at all. TWO DIFFERENT NUMBERS, never conflated: c is the Center of the judgment, which is 0 under the default baseline 'zero' and the series' median under baseline 'median'; MAD is median|x − median| and is ALWAYS measured around the actual median, whichever baseline is in force. So under the default the corridor is centered on 0 while its width comes from the spread around the median, and both numbers are printed. Needs exactly one data-role series and an absolute variant. Fewer than 8 non-null values, or MAD = 0, flags nothing and says so (anomaly-sample-too-small / anomaly-mad-zero) — no mean ± sigma is ever substituted. Every render emits the anomaly-method info warning carrying method, baseline, k (dimensionless), center, median, MAD, scale, n and the flag count. The decision runs on unrounded values; if two periods print the same label on opposite sides of the cut, anomaly-flag-label-tie says so. This is NOT an SPC control chart: no run rules, no subgroup limits, no seasonality adjustment.
anomaly.method (anomaly branch 1)string'mad'Use median absolute deviation to derive the anomaly corridor.
anomaly.k (anomaly branch 1)number3.5Flag threshold on the absolute modified z-score; default 3.5, the published threshold of the modified z-score method with the 1.4826 MAD scale. Do not pair it with a 3.0 rule of thumb from a different method.
anomaly.baseline (anomaly branch 1)string'zero', 'median''zero'Center of the judgment. 'zero' (default) reads the input as an already-computed deviation (surprise vs consensus, net cash movement, residual); 'median' centers on the series' own median. The SPREAD is measured around the actual median in both cases, so derived.anomaly reports centre and median as separate fields — under 'zero' they differ, and a levels series hands to this rule will flag almost everything (anomaly-most-flagged).
anomaly.label (anomaly branch 1)stringNames the rule on the exhibit. It is prefixed to the derived sentence, never a replacement — the median, MAD, k and corridor always stay printed.
anomaly.method (anomaly branch 2)string'threshold'Use authored low/high bounds to flag anomalies.
anomaly.low (anomaly branch 2)numberFlag values strictly below this bound.
anomaly.high (anomaly branch 2)numberFlag values strictly above this bound.
anomaly.label (anomaly branch 2)stringNames the rule on the exhibit; the bounds stay printed.
seriesLabelsobjectName the stacked series once, at the right edge of the LAST column or the left edge of the FIRST, instead of in a legend: the layers of a cohort chart are read off their own bars. Stacked variants only; a grouped chart keeps its legend.
seriesLabels.atstring'right-edge', 'left-edge'Where the names sit, on the middle of each named layer: 'right-edge' beside the last column, 'left-edge' before the first, right-aligned.
seriesLabels.onlyarrayThe series that carry a name; without it every stacked series gets one, and the solver hides the ones that do not fit.
seriesLabels.cagrtrue | objecttrue (or another value of its type)Series CAGR: each name carries its series' compound annual growth rate over the span, 'Product B +10.1% p.a.', with a claim record per series. A key that names the series in place of the edge carries the rate. The years come from the categories' ISO dates or year-bearing labels; a series with a missing value, a start at or below zero or a negative end prints its name alone and warns; an end of zero reads -100%.
seriesLabels.cagr.fromstringFirst category of the span; default the first category.
seriesLabels.cagr.tostringLast category of the span; default the last category.
seriesLabels.cagr.formatstringPercent format-by-example for the rates, such as +0.00% for two decimals; default: the rates are one change set and print two digits.
shareLabelsobjectWhere and how stacked segment labels print their share of the column: '30 (26.3%)' in the last year only. Adds the share to labels.segment in the columns named by only and drops it from the others. Stacked and stacked100 variants; a grouped chart has no shares and warns.
shareLabels.onlyarrayCategories whose segment labels print value and share, such as the last year only; the other columns print the value alone. Default every column.
shareLabels.formatstringPercent format-by-example for the shares, such as 26.3% for one decimal; default whole percent, one decimal under 1%.
eventsobjectEvent lane and key. Events are annotations of kind event with at or date, an optional end or to for a period, group, detail, priority and, on column, combo and line charts only, items (more changes on the same date). Gantt events take one label and refuse items.
events.placementstring'auto', 'key''auto'auto uses lane then key, key uses key only. 'auto' (default) sets events in the lane above the plot where they fit and numbers the rest into the key below it; 'key' draws every event as a numbered marker with its entry in the key. Under footnotes: false there is no key: those events are left off and listed in the footnotes-off lint.
events.rowsintegerLane rows for event blocks. Default by canvas width: 1 under 1080px, 2 from 1080px. 0 draws numbered markers only. A row gives way while the plot band left under the lane would keep less than 40% of the canvas height.
events.groupsarrayKinds of events, authored once: label, tone and glyph.
events.groups[].idstringGroup id that events name in their group field.
events.groups[].labelstringKind label printed in the block header and the key, such as Out of stock.
events.groups[].tonestring'neutral', 'bad', 'good''neutral'Color of the glyph, the marker ring and the period bar; default neutral. An event tone overrides it.
events.groups[].glyphstring'dot', 'triangle', 'diamond', 'square'Shape that marks the kind without color; default by group order: dot, triangle, diamond, square.
events.keyTitlestringHeading printed over the event key.
windowobjectDisplay window for ordered periods: keep the last n categories. Means, the average marker and anomaly rules keep every source period, the subtitle says how many periods show, and a mean's Ø label names the periods it covers, 'Ø 40.4 (Jan 25–Dec 26)'.
window.lastintegerKeep the last n categories of the ordered series.
viewDomainobjectZoom the visible categories. Means, the average marker and anomaly rules keep every source period. A mean's Ø label names the periods it covers where the plot draws fewer, 'Ø 40.4 (Jan 25–Dec 26)'. Refused with a category sort or topN, which break the period order.
viewDomain.xarrayInclusive category ids bounding the visible x axis.

Plus the shared options. This type does not accept valueAxis.log, valueAxis.reverse. This type ignores animate, debug, rowLabels, secondaryAxis with an option-ignored warning.

Annotations

An annotation anchor is a category or item id string, or an object with categoryId plus optional seriesId, segmentId and edge (start, end, total); pointId addresses a scatter point. Category anchors, including from/to, take category ids, not category labels.

KindPurposeRequiredAnchorsOptional fieldsNotes
cagrDraws a growth arrow between two anchored points and computes the compound annual growth rate from their values and ISO-date span.from: AnchorRef (optional); to: AnchorRef (optional)suffix: string, default 'p.a.'. Text after the rate. period: boolean. Print the period before the rate from the anchors' category labels, '2014–2019: +5.8% p.a.'. Default true when the chart carries two or more CAGRs, so nested brackets are told apart by their text, false otherwise. An arrow's ends show its span, so an arrow prints the rate alone unless period is true. shape: bracket | arrow, default bracket. arrow draws one straight arrow over the marks with the rate in an oval on it, lifted until it clears them. Where no straight line clears the chart, the span is too short for the oval, a stack's inner layer is the anchor or the chart lays comparisons out itself, it draws the bracket and warns cagr-arrow-no-room.Omitted endpoints span the first to the last category, or the first to the last total on a waterfall. Resolved endpoints need a positive date interval from ISO dates or year-bearing labels and a positive start value; an end of zero reads -100%, and a start at or below zero or a negative end omits the rate and warns cagr-undefined. On a continuous time axis the years are the exact span between the two readings. An anchor on one series of several (seriesId, or a category of an unstacked line, which reads the first drawn series; on a stack a category reads the stack total) names that series in the label, "Product B +10.1% p.a.", and the arm runs from that series' segment or point. In text, ${value} prints the rate with its suffix, so "CAGR 2014–2019: ${value}" keeps the computed number. Drawn reference series accept anchors.
diffDraws a level-difference arrow between two anchors and computes either percent change or their signed value difference.from, tofrom: AnchorRef; to: AnchorRefmode: relative | absolute | reversed | both, default relative. relative prints the percent change from 'from' to 'to', reversed the change from 'to' to 'from', absolute the value difference, both the value difference with the percent change beside it.Mode defaults to relative. Relative and reversed changes need a nonzero base; negative bases use its absolute magnitude and emit a warning. Absolute mode reports the raw value difference. A hidden label removes its arm. Drawn reference series accept anchors.
deltaComputes the signed difference between an anchored value and another anchor or literal, then places a collision-managed label at the first anchor.at, vsat: AnchorRef; vs: AnchorRef | numbermode: absolute | relative | both, default absolute. absolute prints at minus vs, relative the percent change from vs to at, both the two as '+149 (+36%)'. relative and both need a nonzero vs.Drawn reference series accept anchors.
notePlaces authored text at an anchored data element through collision avoidance, with an optional icon or status chip.at, textat: AnchorRefDrawn reference series accept anchors.
calloutPlaces authored free text at an anchored data element, routing a leader when displaced and honoring the preferred side.at, textat: AnchorRefpreferSide: left | right | above | below. Side the solver tries first; the label keeps a leader when it moves. headline: string. A bold first line over the text, which then prints in plain type; ${value} in it prints the anchored value from the data. Example: "headline": "${value}", "text": "Peak in handheld-loom demand" prints 153 in bold over the words. arrow: boolean, default false. An arrow from the text to the anchored point, in the arrow standard of theme marks.arrow: the text stands far enough out for a 24 px shaft, level with the point right or left of it, or over or under it, where there is room. With no such seat it draws without the arrow and warns callout-arrow-no-room. Not with icon or status. Example: "arrow": true.Drawn reference series accept anchors.
valueLineDraws a reference line at an authored value or an engine-computed mean, with optional tolerance shading and attainment fill between the line and resolved actuals.from: categoryId (optional); to: categoryId (optional)value: number | 'mean', default mean. A number draws the line there; mean has the engine compute it. valueKind: 'fraction'. Multiply a numeric value and its tolerance by 100 before layout: 0.35 draws at 35%. Independent of data.valueKind. Omit it for values already in percent points; not valid with mean. label: string | false. Name plus value; ${value} sets its position. A number already in the name is kept once. false hides it. side: left | right, default right. Side of the plot the label sits on. tolerance: number | { low, high }. A number shades that distance on both sides of the line; low and high shade an authored corridor. On column, bar and dot the key names the band with its bounds, "Target range: 95 to 105"; without a key the band prints its bounds itself. attainment: boolean | { seriesId, direction }. Shades each category between its actual and the line.No anchor is required. Value defaults to mean. Scoped means are line-only: seriesId and paired from/to compute a primary-axis mean and limit its stroke to those bands; other types refuse scope fields for a mean. Numeric values cannot use scope fields except as a category clip with tolerance or attainment. A secondary-axis line needs an acknowledged secondary scale and an explicit numeric value. Optional tolerance shades a value-axis band; optional attainment fills between the line and resolved actuals.
indicator100Maps 100 through the chart's value scale and draws a side tick with a 100% label.side: left | right, default left. Side of the plot the 100% mark sits on.No anchor is required. The chart needs a value scale that can represent 100.
absReads the anchored data value and places its formatted absolute value in a collision-managed label.atat: AnchorRefDrawn reference series accept anchors.
eventPlaces a dated event in the lane above the plot as a block with a pole to the data, or, when it does not fit, as a numbered marker with an entry in the event key below the plot; periods draw a thin bar.labelat: categoryId (optional)date: ISO date yyyy-mm-dd, in place of at: the event sits at the last category whose date is on or before it, and the block header and the key print it as d MMM. Every category needs an ISO date; a date outside the categories warns event-out-of-range. end: ISO date, with date: the event is a period, drawn as a thin bar to the end of that day. to: Category id, with at: the event is a period to the end of that category. group: Id of a group in options.events.groups, which gives the kind label, tone and glyph. detail: string | string[]. Authored lines under the title, at most three in the lane; nothing is cut, a longer block moves to the key. items: { label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full. placement: auto | key, default options.events.placement. key numbers this event into the key below the plot. tone: neutral | bad | good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule.Exactly one of at (a category id) and date (an ISO date) places the event; end or to makes it a period. The event lane above the plot sets a block of group and date, title and detail with a thin pole to the data; an event that does not fit, a second event on one category and every event under options.events.placement 'key' get a numbered marker and an entry in the key below the plot, numbered in time order; under footnotes: false they are left off and listed in the footnotes-off lint. The full date, title and detail of every event stay in the SVG title and description, the interaction records and the hover card, whether or not the lane or the key prints the detail. In compact mode the lane is one row of numbered markers and the key packs "n date title" into as few lines as the width allows; where the plot would still fall under 80px the key keeps "n title" and the info lint event-lane-compact says so. options.events.rows sets the lane rows (default by canvas width: 1 under 1080px, 2 from 1080px); a row gives way while the plot band left under the lane would keep less than 40% of the canvas height.
bandDraws an inclusive category span as a shaded band or bracket, or a value-axis plan corridor, tolerance band or attainment fill, with a collision-managed label.from: categoryId (optional); to: categoryId (optional)Era shade/bracket needs inclusive category IDs. Corridor and tolerance use finite low/high on the value scale, with optional from/to as a category clip. Attainment needs a plan value and shades each resolved actual; missing cells are skipped. Divider applies only to bracket bands. Scenario AC/PY/PL/FC paints a plan corridor (default PL).
textPlaces authored text at a point through the label solver: on the point, or above, below, right or left of it. The text prints as written.at, textat: AnchorRef | { categoryId, value }A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. The text prints as written, ${value} included. It takes id and priority, and no other field.
lineDraws a straight line between two points or from a text annotation, in the ink and rule width of a bracket; a stretch that would cross text is cut.from, tofrom: AnchorRef | { categoryId, value } | { annotationId }; to: AnchorRef | { categoryId, value } | { annotationId }dashed: boolean, default false. Draws the line in the dash of a reference line.A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the line starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's center. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field.
arrowDraws a straight arrow between two points or from a text annotation to a point, in the theme arrow look (marks.arrow); a stretch that would cross text is cut.from, tofrom: AnchorRef | { categoryId, value } | { annotationId }; to: AnchorRef | { categoryId, value } | { annotationId }dashed: boolean, default false. Draws the shaft in the dash of a reference line.A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. An end { annotationId } names a text annotation: the arrow starts or ends at the nearest edge of that text, at every size, and is not drawn when the text is not. A { categoryId, value } end stands on the category's center. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field.
boxDraws an unfilled box with two points as opposite corners, wrapping whole category bands, in the ink and rule width of a bracket; text inside the box stays free.from, tofrom: AnchorRef | { categoryId, value }; to: AnchorRef | { categoryId, value }dashed: boolean, default false. Draws the edges in the dash of a reference line.A point is an anchor or { categoryId, value } with value in axis units. A value outside the plot, a chart with no value scale or an anchor that does not resolve warns bad-anchor and draws nothing; the axis does not grow. from and to are opposite corners, the box has no fill, and text inside it stays free. A { categoryId, value } corner spans that category's whole band, so the box wraps whole bars, values and markers; from and to on one category wrap that category. A stretch that would cross text is cut and warns draw-crosses-text. It takes dashed and id, and no other field.

Dense value labels

The default labelDensity: 'smart' keeps every value eligible. In a chart with more than 12 categories, or with most labels wider than the band, the first, last, highest and lowest values (ties: the first) take their seats first, and the note names any of them that finds none. A smaller chart keeps every value on the one-step rule and names any that finds no seat. Other values use only their natural seat beside the mark, and are dropped without a note entry when it is taken. Stacked columns apply this rule to totals. Authored, highlighted and pinned values keep their rank. Use labelDensity: 'full' to treat all values alike and name every value without a seat. Labels need a free seat within one step of the natural seat. A value that fits can use an inside-end seat. Reading records keep every value.

Sizing

Floor 480 × 270 px; fit fill. Below 480 px wide or 270 px high, down to the compact floor of 280 × 180 px, the chart draws in compact mode; belowMinimum: 'refuse' refuses there instead. Narrower than the compact floor, down to 120 px wide, a column draws while its bars stay at least 3 px wide.

Below the floor a render is refused with size-below-floor and the pixels it needs. measure returns the natural and comfortable size for a given spec; see Sizing in the manual.

Fixtures

IDKindUse case
forecast-ci-columnexampleForecast columns with confidence-interval whiskers
actuals-forecast-operating-rateexampleColumn twin with a selected operating-rate tier
stacked-net-line-negativesexampleNet line follows positive stack tops across mixed-sign columns
integrated-stacked-varianceexampleIntegrated stacked revenue with external PY comparators
integrated-stacked-variance-collisionstortureTorture: integrated variance with close references and mixed signs
grouped-average-markerexampleGrouped columns with a computed average marker
axis-break-tall-outlierexampleStraight value-axis break compresses one 10x outlier
gap-after-with-connectorsexampleCategory group gap with stacked-series connectors
stacked-with-connectorsexampleStacked columns with series connectors across a reported gap
stacked-value-and-shareexampleStacked columns print each segment value over its share of the stack
stacked-ribbons-rank-flowexampleRibbon chart: each column ranks its own segments and ribbons cross where an entrant overtakes
stacked100-survey-total-columnexampleSurvey answer scale by age band with a weighted Total column set apart by a divider
stacked100-survey-total-ribbonsexampleThe same survey with fixed-order ribbons between the ordered age bands, stopping before the Total
category-break-yearsexampleCategory axis break between decade steps and the recent years; connectors stop at the break
stacked-series-cagrexampleSeries CAGR beside each series name, two period CAGRs over the stack, shares in the last column only
reporting-date-scenario-comparisonexampleReporting-date AC/PY/PL comparison preserves dimension colors
stacked-dashed-connectorsexampleStacked columns with dashed series connectors
stacked100-share-shift-connectorsexampleStacked 100% columns with share-boundary connectors
stacked-revenue-cagrexampleStacked column time series with CAGR arrow and grand totals
stacked-revenue-cagr-arrowexampleStacked column time series with a straight CAGR arrow
stacked100-shares-sumtortureTorture: 100% stacked shares that add up to 100% in every column
stacked100-energy-mixexampleStacked 100% column with absolute totals and 100% indicator
clustered-brand-gapexampleClustered columns with value axis, gridlines, and diff arrow
plan-ticks-delta-calloutexampleActual columns with plan ticks, a delta and a callout stacked over the one year below plan
plan-ticks-frontexampleActual columns with plan ticks drawn over the columns
monthly-diff-bracketexampleTwelve monthly columns with a difference in value and percent from the first to the last month
monthly-diff-betweenexampleTwelve monthly columns with a difference whose arrow stands between the columns
monthly-delta-bothexampleHighlighted first and last month with a delta in value and percent
ranked-dense-staggeredexampleRanked dense columns: staggered values, tick step, dotted grid, muted labels, highlight emphasis
ratio-tier-zero-denominatortortureTorture: zero denominator stays visible as n/a in the ratio tier
negative-stackstortureTorture: negatives mixed into stacks, one all-negative column
on-fill-ink-tokensexampleTheme on-fill inks on mid-tone stacks
dense-grouped-10x4tortureTorture: 10 categories × 4 series, long labels, smart density (one label hide accepted)
sliver-segmentstortureTorture: sliver segments auto-hide, grand totals always render
usd-k-precisionexampleUnit-aware precision: $k values from 100 up print whole, smaller values keep one decimal
single-series-single-categorytortureTorture: one series, one category
plan-tickstortureTorture: reference-series plan ticks with value line
cash-movement-anomaliesexampleTwo months break out of the normal cash swing
consensus-surprise-thresholdexampleAuthored surprise corridor: no statistics at all
anomaly-small-sampletortureTorture: five periods refuse to produce an outlier verdict
anomaly-torturetortureTorture: 60 periods, MAD = 0, an all-negative series and a 40× tail
accessible-title-opt-inexampleOptional SVG hover title and authored accessible description
minimum-frameexampleColumn at the standalone size floor
compact-frameexampleCompact column with source and note marker
hatched-stack-labelsexampleForecast stack with protected inside values
host-flush-titletortureColumn title aligned to an unpadded host card
host-headlessexampleHeadless column for a host that prints its own title
automatic-series-keyexampleAn automatic key above the plot identifies the series with numeric labels
brand-font-numeric-metricsexampleBrand-font numeric labels and title punctuation
dense-ninety-value-subsettortureNinety daily columns keep endpoints and earliest extrema
option-average-stringexampleComputed mean with caller wording
stacked-rest-seriestortureA stacked column with a Rest series whose values the dashboard leaves unprinted
contrast-edge-onexampleA stacked column whose theme turns the light-page contrast edges back on
sign-fill-rolesexampleSigned columns in the fill roles of a dark theme
option-reference-lineexampleActual orders against plan with line references
option-reference-markerexampleActual orders against plan with marker references
option-median-anomalyexampleOne quarter differs from the typical shipment count
option-lower-ratioexampleDefects fall relative to inspected units
shared-dashboard-overviewexampleDashboard revenue overview with axis-led reading
shared-absolute-outliertortureAbsolute value remains visible above an axis break
shared-energy-indicatorexampleGeneration shares with an explicit 100 percent indicator
shared-regional-mix-asc-ascexampleRegional revenue mix with asc category order and asc segment order
shared-regional-mix-reverse-descexampleRegional revenue mix with reverse category order and desc segment order
shared-regional-mix-sheet-reverseexampleRegional revenue mix with sheet category order and reverse segment order
plan-corridorexamplePlan corridor around quarterly revenue
a11y-table-hiddentortureAccessible data table hidden behind the chart (default presentation)
a11y-table-toggletortureAccessible data table behind a disclosure control
a11y-table-belowexampleAccessible data table rendered below the chart
scenario-corridor-acexampleAC notation on an authored revenue corridor
scenario-corridor-pyexamplePY notation on an authored revenue corridor
scenario-corridor-fcexampleFC notation on an authored revenue corridor
column-compact-380exampleColumn in a 380px dashboard column
column-card-320-frame-rulesexampleGrouped column in a 320px card with an automatic height
column-partial-weekexampleStacked weekly orders with the running week marked partial
column-partial-week-averageexampleStacked weekly orders with an average rule that leaves the running week out
column-partial-week-average-includedexampleStacked weekly orders with an average rule that includes the running week
torture-long-labelstortureTorture: long names at a generous size read whole, never cut
revenue-axis-titleexampleGrouped columns with a titled value axis
weekly-events-laneexampleEvent lane: stock-outs and launches over weekly revenue, the rest numbered in the key
events-key-onlyexampleEvent key only: nine numbered markers in time order, every event in the key
events-dashboardexampleEvent markers on a dashboard tile: numbers on the chart, titles in the key
cohort-layersexampleThe active base by acquisition cohort, oldest at the bottom
staircase-labels-stackedexampleStaircase category labels: 16 sorted stacked columns with long names and two negative segments
staircase-labels-unsorted-fallbacktortureTorture: staircase labels over unsorted columns fall back to the category row with a warning
integrated-variance-no-growthtortureIntegrated PY ticks without growth arrows (labels.growth false)
series-names-left-edgeexampleStacked series named left of the first column instead of in a legend
window-last-12-monthsexampleTwenty-four months of orders, the last twelve drawn (window.last)
view-domain-two-yearsexampleSixteen quarters of revenue, zoomed to the last eight (viewDomain)
net-ticks-on-coreexampleTicks on the Core layer boundary, not connected
cash-anomalies-strict-ktortureThe MAD rule with a stricter k of 5
series-cagr-product-b-namedexampleOnly Product B named at the right edge with its CAGR; the key above names every layer
series-cagr-actual-spanexampleSeries CAGRs over the actual years only, at two decimals
channels-top-fourexampleFour channels by name, the other three folded into one rest column, on narrower bands
channels-embedded-interactiveexampleThe channel columns declared for a 720 px host and carrying data-bp semantics for web interaction
cash-anomalies-colorblindexampleSign colors from the color-vision-safe pair
stacked-empty-weekstortureTwo weeks without data and one partial week in a stack
stacked-missing-parts-dailytortureDaily stack with missing parts on some days
stacked-shares-of-one-wholeexampleChannel shares of all orders, declared shares of one whole
stacked-benchmark-lineexampleA labeled benchmark across stacked columns
target-dashboardexampleThe dashboard target: dashboard type on its 480 px default card
target-slide-ptexampleThe slide target on a 660 × 360 pt slot
target-print-a4-landscapeexampleThe print target on the A4 landscape content preset
target-print-mmexampleThe print target on a 180 × 100 mm slot
iso-days-year-change-deexampleGerman ISO day ids across a year change
small-drawerexampleA plain column chart in a 480 by 200 drawer
ordered-ramp-rest-apartexampleRest only has to differ from the ordered ramp (othersShade 'apart')
option-notes-max-listedexampleThe note line names its first 3 values and counts the rest (notes.maxListed)
option-notes-max-listed-alltortureThe note line names every value (notes.maxListed all)
band-label-headroom-rising-tailtortureA band label over a rising tail takes headroom above the plot
callout-band-sliver-baselinetortureA callout leader clears its bar value, a shaded band label centers, a sliver bar keeps the baseline
option-value-labels-extremesexampleTwenty-four months print first, peak, low and last value (valueLabels extremes)
option-value-labels-lastexampleOnly the latest quarter prints its value (valueLabels last)
option-value-labels-endsexampleThe first and latest quarter print their values (valueLabels ends)
option-value-labels-noneexampleNo value prints; the axis reads every column (valueLabels none)
option-value-labels-allexampleEvery quarter prints its value (valueLabels all)
grouped-twelve-slidetortureTwo series over twelve units on a full slide print all 24 values
key-right-slideexampleClustered columns on a slide with the key in a column right of the plot
inside-base-valuesexampleColumn values inside the base
stacked-inside-base-valuesexampleStacked column values inside each base
drawing-kindsexampleA box around the launch months, the old level and an arrow from a note