Line and area chart reference

Line and area examples

Contents: Use cases, Design, Chart IDs, Minimal spec, Data, Options, Annotations, Trend lines, Cycle bands, Sizing, Fixtures.

Time-series lines and areas: step interpolation, gap fills, target markers, event context, AC→FC dashing, stacked and 100% variants. Type line. Aliases: profile.

Use cases

Design

Message: How a measure moves over time: trend, turning points, and where series part.

Use when: Ordered periods on the x axis, from about five points up; several series compared on their shape.

Not when: The categories have no order (bar); two points only (slope); few periods where each value matters more than the shape (column); parts of one total over time (column stacked).

design-line-direct-labels

Name the lines at their ends, not in a legend, so the eye does not travel between key and line. Render checks this rule and returns the warning design-line-direct-labels with severity advice. A fix patch is included only when it can apply to the input as sent; otherwise follow suggest, for example when waterfall items come from rows.

design-line-series-limit

Draw at most five lines; gray the others with options.highlight, or split them into small multiples with grid. This rule needs the author's judgment; render does not check it.

design-line-label-points

Print the last value, or the first and the last, not every point: a line shows the shape, and a table shows exact values. Render checks this rule and returns the warning design-line-label-points with severity advice. A fix patch is included only when it can apply to the input as sent; otherwise follow suggest, for example when waterfall items come from rows.

design-line-forecast

Mark forecast and plan periods with series[].scenario FC or PL, so the reader sees where the actuals end. This rule needs the author's judgment; render does not check it.

design-line-gaps

Keep periods in time order at equal spacing, and give a missing period null, so the gap shows instead of a line across it. This rule needs the author's judgment; render does not check it.

design-line-straight

Draw straight segments for measured data: a smoothed curve shows values between periods that nobody measured. Keep smoothing for concept curves. This rule needs the author's judgment; render does not check it.

design-line-zero

A line may start above zero; an area must start at zero, because its filled height reads as the value. This rule needs the author's judgment; render does not check it.

Chart IDs

Minimal spec

{
  "type": "line",
  "data": {
    "categories": [
      { "id": "jan", "label": "Jan" },
      { "id": "feb", "label": "Feb" },
      { "id": "mar", "label": "Mar" }
    ],
    "series": [{ "id": "revenue", "label": "Revenue", "values": [80, 95, 110] }]
  },
  "options": { "unit": "$k", "title": "Revenue rises from $80k to $110k", "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'.
categoriesarrayCategories in display order, with matching positional values. Required unless data.x gives continuous x values.
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 | numberCategory spacing hint accepted by the data schema; this chart does not apply band-step gaps.
categories[].breakAfterbooleanReserved category discontinuity hint; does not create an axis break in this chart.
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.
xarrayContinuous x values, one per reading, with options.xAxis setting their type; replaces categories. Each series' values then match x by position. Under xAxis.type 'time', an ISO 8601 date or date-time ('2026-10-25', '2026-10-25T02:30', seconds and milliseconds allowed) with an optional Z or UTC offset ('2026-10-25T02:30+01:00'), or epoch milliseconds; a time without an offset is a wall-clock time in xAxis.zone. Under 'number', finite numbers. Values may come in any order: the chart sorts the readings by x and places each at its value, so uneven readings keep their spacing. A repeated x is refused (x-duplicate). A wall-clock time in the hour a zone repeats when its clocks go back is read from the order of the values (an increasing run that comes back through the hour reads the first pass at the summer offset); one the order cannot place is refused (x-time-ambiguous), as is a time the zone skips (x-time-skipped). Example: ['2026-10-25T01:55', '2026-10-25T02:00', '2026-10-25T02:05'].
partialarrayWith data.x: the x values whose period the readings cover only in part, such as a first or last week that starts or ends mid-week. Each marks its reading as categories[].partial does (hollow marker, a note naming it). Each must be the x of a reading, read as data.x is read; one that names no reading warns (x-partial-no-reading) and marks nothing. Example: ['2026-01-05'].
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[].shortLabelstringShort end-label name. End labels get 18% of the effective width: Boardplot tries the full label on one line, then on two, then shortLabel with a full-name legend key, then a legend with value-only end labels. legend 'none' removes the shortLabel and legend steps, a labelPlacements pin the legend step. Boardplot adds no abbreviation or ellipsis.
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[].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.
series[].lineStylestringStroke pattern; dashed and dotted strokes require a projected scenario such as FC or PL. One of 'solid', 'dashed', 'dotted'.
series[].markerstringPoint symbol; none suppresses point markers. One of 'circle', 'square', 'triangle', 'diamond', 'none'.
series[].smoothbooleanUse monotone interpolation when true or linear interpolation when false; omission inherits chart interpolation.
series[].interpolateGapsbooleantrue bridges a missing cell with a dashed segment and a hollow ring per missing category; false breaks the line, and an area fill, there, so no line suggests a value that is not there. Stacked variants (stacked-area, stacked100-area) stack a null as zero and do not break. Default false.
series[].targetsarrayAuthored target markers for this series at named categories.
series[].targets[].atstringyesCategory id receiving the target marker.
series[].targets[].valuenumberyesTarget value in the series scale at the named category.
series[].targets[].labelstringOptional authored text identifying the target.

Options

PathTypeValuesDefaultMeaning
highlightstring | arraySelect drawn data series by ID. On one plain data line without a fan, category IDs instead emphasize those points: larger markers and values in focus ink while the line keeps its paint. Series IDs take precedence. References do not count as data series. Several data series, area, stacked and bump forms keep series-only highlighting. Unsupported IDs warn highlight-unknown-id and leave the chart unchanged. Explicit value-label suppression and authored marker shapes remain effective.
roundingstring'nearest', 'sum-consistent'stacked100-area rounds each computed share separately by default. sum-consistent makes the shares of each complete computed whole total 100%. Authored percentages and incomplete total100 bases keep their values. Other line variants do not use this setting.
trendboolean | objectOne least-squares line per shown data series, using the shared scatter fit. Fits every non-null source value in the shown range, with at least 3 points; min-max sampling changes the drawn points, not the fit. Regular month, quarter and year dates fit on the calendar period index and keep their spacing; exact 7-day steps fit per week; other dates use elapsed UTC days and exact date spacing; other categories use their original positions. The dashed series-color line covers only its fitted range and is clipped to the value axis. The legend prints the series name, signed slope per month, quarter, year, week, day or period, and r². The layout derived.trends receipt carries slope, intercept, r² and the fit moments. Plain line and area only; stacks and bump refuse trend-unsupported. Too few points warn trend-undefined. A window or zoom changes the fitted range. Default false.
trend.labelstringName of the fitted lines in the legend; default Linear trend.
windowobjectDisplay the last n periods and optionally sample extrema while preserving source calculations, ranks, uncertainty intervals and phase boundaries. A mean's Ø label names the periods it covers where the plot draws fewer, 'Ø 54.3 (Day 1–Day 20)'.
window.lastintegerKeep the last n categories of the ordered series.
window.decimatestring'minmax', 'none'Display decimation; 'minmax' keeps each series' original min and max category in a bucket and never synthesizes values; 'none' draws every point. Omitted, a plain line or area (stacked too) with more than 2,000 evenly spaced categories and four per pixel of width samples by 'minmax' at two buckets per pixel.
window.maxPointsintegerIntended category budget for decimation 'minmax'; at least 4. Window ends always survive. Each series keeps its own original extrema, so the displayed document can exceed this budget.
viewDomainobjectVisible categories with full-source means and index baselines. A mean's Ø label names the periods it covers where the plot draws fewer. On a continuous axis the two x values bound the visible range exactly, and the readings inside it draw.
viewDomain.xarrayInclusive category ids bounding the visible x axis; on a continuous axis (xAxis), two x values.
xAxisobjectContinuous x axis on line and area: readings placed by value, for times with a time of day in a named zone or for plain numbers. Opt-in: needs data.x, and without xAxis the axis stays an ordered category row. Ticks come from a ladder (time: 1, 5, 15 and 30 seconds and minutes; 1, 3, 6 and 12 hours; 1 and 2 days; weeks; months; quarters; 1, 2, 5, 10 years and up; numbers: 1-2-5 steps), the finest whose labels fit, at most maxTicks. Under clock times a second row names each day ('Sat 24 Oct'); under days, weeks, months and quarters it names the year. Hover cards, keyboard records and the data table name each reading in full ('Sun 25 Oct 2026, 02:35', with the offset in a repeated hour). Lines, areas, gaps (null breaks the line), trend lines (fitted on the real x), min-max sampling (buckets by x), events and bands (at any x), value lines and point annotations (at the x of a reading) work as on categories. A CAGR annotation counts the exact years between its two readings on a time axis; a number axis has no years and warns x-cagr-unsupported. Not with variant 'bump' or categoryAxis.
xAxis.typestring'time', 'number'REQUIRED. 'time' reads data.x as instants and draws a time axis in xAxis.zone; 'number' reads plain numbers.
xAxis.zonestringTime only. IANA time zone of the ticks, the labels and of every x time without an offset, such as 'Europe/Berlin' or 'America/New_York'. Default 'UTC'. A note under the chart names it ('Time zone: Europe/Berlin'), with the offsets where they change inside the range ('(UTC+2, then UTC+1)'). Zone rules come from the host's Intl time zone data.
xAxis.minstring | numberStart of the axis, an x value. Default: the first reading. A start after the first reading leaves the earlier readings undrawn (info x-range-cut); one before it leaves room.
xAxis.maxstring | numberEnd of the axis, an x value. Default: the last reading. An end before the last reading leaves the later readings undrawn (info x-range-cut).
xAxis.tickStepnumber | objectAuthored tick step instead of the automatic ladder. Ticks whose labels would overlap thin to every second, third or later tick and warn x-ticks-thinned. Not with ticks.
xAxis.tickStep.unitstring'millisecond', 'second', 'minute', 'hour', 'day', 'week', 'month', 'quarter', 'year'Calendar unit of the step.
xAxis.tickStep.stepintegerUnits per step; default 1. 6 with hour ticks at 00, 06, 12 and 18 local time.
xAxis.ticksarrayExplicit ticks: x values, or { value, label } pairs. Ticks outside the axis range are dropped; labels that would overlap thin and warn x-ticks-thinned. Not with tickStep.
xAxis.ticks[].valuestring | numberThe x value of the tick.
xAxis.ticks[].labelstringText printed at the tick instead of the formatted value.
xAxis.formatstringTick label format. Time takes a pattern or an example such as 'Jan 2026', 'Q1 2026', 'September 2026' or '2026'. Tokens: yyyy, yy, MMMM, MMM, MM, M, dddd, ddd, dd, d, Q (1), QQ (Q1), QQQ (Quarter 1), HH, H, hh, h, mm, ss, SSS, a and 'quoted literals'. Excel mmm and mmmm name months. Lowercase m/mm in 'dd/mm/yyyy' means month when no hour or seconds token is present. YYYY/YY mean year and D/DD mean day. Numeric dates use a day above 12 to choose the order. Otherwise they read day first and warn date-format-ambiguous. A year in front keeps year/month/day. 'FY26' reads the calendar year and gives date-format-fiscal-year (info). Unreadable text warns date-format-unknown and uses default ticks by step: 'HH:mm' (24-hour clock in every language), '24 Oct' (en-US 'Oct 24'), 'Oct', 'Q4', '2026'. Number: a format-by-example such as 1,234.5 or 0.0%, through the shared number formatting.
xAxis.titlestringAxis title printed under the tick row at the right end, such as 'Distance, km'.
xAxis.unitstringNumber axes: the unit of x, which names the trend slope ('+0.42 per km'). Without it the slope reads 'per unit of x'.
xAxis.maxTicksinteger10Most ticks the automatic ladder draws; default 10. The ladder takes the finest step whose labels fit with that count.
anomalyobjectFlag exceptional periods of the one drawn line against a visible, named corridor, with column's rule: 'mad' flags |x − c| / (1.4826 × MAD) > k (c is 0 under the default baseline 'zero', the median under 'median'; the spread is always measured around the median), 'threshold' flags values outside authored bounds. The corridor rules carry their numbers, each flagged point gets a marker beyond it and prints its value, the legend keys the marker and the corridor, and a footnote states the rule. Needs the plain line variant with exactly one drawn series. Under a window or zoom the rule keeps every source period. Fewer than 8 values or MAD = 0 flags nothing and says so.
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.
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.
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. A rank ladder (variant 'bump') takes none.
axisTitles.primarystring'Measure, unit' title over the value axis, e.g. 'Revenue, $m'.
endLabelPlacementstring'gutter', 'lineEnd'Position of early-ending series labels. 'gutter' puts every end label in the column right of the plot with a leader; 'lineEnd' (default) puts it beside the series' own last point, right of it or above or below, and falls back to the gutter with a leader when those collide. Area variants keep the gutter. Default: the theme's labels.endLabelPlacement, else 'lineEnd'. To move one label, pin it in labelPlacements. Its valid slots depend on the data, so a wrong slot warns unknown-slot and lists the slots of that render.
variantstring'line', 'area', 'stacked-area', 'stacked100-area', 'bump''line'Line geometry. Forecast areas use hatching; forecast lines use a contrast-safe tint. Actual-to-forecast transitions add a divider with the FC header centered over it, reusing authored period furniture. Area endpoints have leaders. An unstacked area with several series fills one, the lead (the first highlighted series, else the first), and draws the others as lines on top, so no fill hides another or reads as a stacked band; it says so in the info line-area-lead. Use stacked-area when the series add up to a total. Stacked and 100% area values sit wholly on their band, the first and last moved inward along it; stacked100-area values need twice their measured label height and shared band edges have 1px separators. valueAxis.percent sets stacked100-area, which draws each series as its share of the category sum; for lines of percentages use data valueKind 'fraction' or a percent format instead.
bumpobjectRank preset controls (variant 'bump'); direction is chart-level because ranking compares series against each other.
bump.directionstring'higherIsBetter', 'lowerIsBetter'Ranking direction across series; higherIsBetter places the largest value first.
bump.focusarrayThe entities to draw, at most 12. Every series is still ranked; the others are named in a note with their last rank and keep their values in the data table. A bump of more than 12 entities without focus is refused (bump-series-limit).
seriesLabelsstring | object'end', 'inline', 'key', 'none' (or another value of its type)Where series names print; a name carries no value, except where two or more lines end within a line of each other at the last category: there each name takes its last value. On report, dashboard, slide and print, plain-line names use medium weight at the label role size, in a contrast-safe series color. Values use regular weight. Crowded blocks use one line if two lines would move more than three label line heights from the endpoint. If one line cannot fit within that bound, a right-hand key lists names and end values from highest to lowest, with a reading disclosure. 'end' (default): a column just past the line ends, names only, short leaders; too wide for 18% of the width, shortLabel, then the key row. 'inline': on a clear stretch of each line; the last values still print. An authored 'end' or 'inline' that ends in the key row warns line-end-label-key. 'key': a key row above the plot. 'none': no names; two or more drawn series still get the key row (info series-labels-key) unless legend is set. A lone 'line' defaults to 'none'. { only } names the listed series and gives the rest no name and no value.
seriesLabels.onlyarrayThe series named at their line ends; the others get neither a name nor a value, so twelve cohort curves read under four names.
pointLabelSidestring'shape', 'auto'Preferred side for point values. 'shape' prefers left of the first finite point, above a strict local peak, below a strict local trough and right of the last finite point. Flat plateaus keep the existing preference. Default shape on one plain data line without a fan; reference series do not count. Other variants and several data series keep auto. The label solver can use a fallback to avoid collisions, and labelPlacements pins take precedence. 'auto' restores the previous candidate order and endpoint reserves.
valueLabelsstring'none', 'last', 'ends', 'extremes', 'all'Point values: default last, inline and bump none, stacked100-area ends. A value without a format prints its set's text; distinct end shares or values under a unit-only format that round to the same text gain up to two decimals as one label set; the reading uses that precision. Bump keeps the precision used to rank its values. Choices: 'none' (default under seriesLabels 'inline'), 'last' (default), 'ends' (first and last; stacked100-area default), 'extremes' (ends plus each series' low and high) or 'all'. A value sits on the side of its point away from other lines and never nearer another line than its own; one with no free seat goes to the note line, and missing labels warn label-hidden once per chart; reading.omissions names each label and its destination. Stacked values sit in their band. labels.point sets the content. When the author sets valueLabels and every non-null value in a series has a string label (ignoring label:false cells), valueLabels selects the values and each selected value uses its cell text. Otherwise a string cell label also selects its point, outside the valueLabels selection, even when labels.point is false. label:false removes a value label. bump defaults to 'none'; its values are the measure behind the ranks, so each carries the unit, and without a unit or format it warns bump-values-unnamed. A plain line on a linear scale that does not start at zero draws a break glyph at its lowest value, so the cut baseline stays visible. A tick prints there under 'all' and valueAxis.show false, and on a shown value axis only where that value falls on the tick grid or valueAxis.min sets it. valueAxis.includeZero true or valueAxis.min 0 starts at zero and removes the break glyph and its tick. Where the last value carries options.unit because no subtitle prints it, a shown value axis prints a sign or magnitude unit ($, k, m) on its ticks too; a word unit stays on the value.
latestPointstring | object'ring', 'none' (or another value of its type)'none'Ring the last observed point in the highlight color, r 4.5 with a dot inside it: the newest cohort of a curves chart, the current period of a trend. 'ring' picks the primary series, the hero where emphasis names one and otherwise the first data series that is not a prior year, plan or forecast; { series } names one outright. Default 'none'. Line and area variants only: a stacked band's last point is the top of the stack, so stacked-area and stacked100-area refuse it.
latestPoint.seriesstringThe series whose last observed point is ringed.
latestPoint.markerstring'ring''ring'Marker shape; 'ring' is the only one and the default.
emphasisstring'first', 'ordered', 'none'Multi-series line coloring. 'none': every series takes its theme ramp color, color.series[i], in data order. 'first': the first series takes ink at 2.4px and the others step back to muted context tints, for one line read against context. 'ordered': the series take the theme's ordered ramp in data order, the first the lightest (still 3:1 on the page) and the last the full ink, for series whose order is the encoding, such as cohorts; a highlighted series keeps the focus and a series fill or colorRole its own color. Unset means 'none', except on a drawn fan, whose center is the subject and takes the ink ('first'), and on stacked-area and stacked100-area without a highlight, palette or series fill, whose bands are parts of one total and take 'ordered'; set 'none' there for the theme hues. 'first' applies to the plain line variant only and 'ordered' to plain lines and stacked bands; highlight, palette, series fill, colorRole and series-level scenario keep their own colors (cell-level FC and PL keep their dash notation), and an explicit 'first' that cannot apply, including on a single drawn series, warns line-emphasis-ignored.
othersShadestring'quietest', 'apart'With emphasis 'ordered' 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.
highlightModestring'grey', 'fade''grey'How options.highlight treats the other series. 'grey': one gray ladder, today's look. 'fade': they keep their own color, washed toward the page, and the highlighted series keeps its color at 2.6px.
scenarioStyleobjectWeight and ink per scenario, opt-in. A board that draws an actual against its prior year authors { AC: { width: 1.5, ink: 'ink' }, PY: { width: 1, ink: 'inkMuted' } }; without it every line keeps the default 2px and its ramp color. An authored series fill or colorRole, a highlight and emphasis: 'first' all still win, and a series with no scenario is untouched.
scenarioStyle.*.widthnumberStroke width in px for the lines of this scenario.
scenarioStyle.*.inkstring'ink', 'inkMuted'Which neutral ink the lines of this scenario take.
rebase100boolean | objectIndex each series to 100 at the first category, or at the supplied category id. A series with a missing, zero or negative base is not drawn, and the key names it. Ignored for stacked100-area.
rebase100.atstringCategory whose positive value becomes 100 in each series.
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.
interpolatestring'linear', 'step-after', 'step-before', 'monotone'Line and overlaid-area interpolation; monotone uses the shared Steffen curve authority.
phasesarrayContiguous category-span partition painted beneath one visible data series.
phases[].idstringUnique phase identity used by scene elements and diagnostics.
phases[].labelstringVisible name of this category-span phase.
phases[].fromstringFirst category id included in the phase.
phases[].tostringLast category id included in the phase.
phases[].tonestring'neutral', 'muted', 'highlight', 'good', 'bad', 'warn'Semantic fill tone for the phase; choose tone or rank, not both.
phases[].rankintegerOne-based palette rank for the phase; choose rank or tone, not both.
gapFillobjectShade the signed difference between two named series, splitting the wash where they cross. The key names each tone; a neutral wash between two lines named at their ends or inline gets no key row. A delta or diff between the same two series at the last category draws the gap bracket by default.
gapFill.betweenarrayExactly two named series bounding the wash.
gapFill.positiveTonestring'good', 'bad', 'neutral'Wash tone where the first named series is above the second.
gapFill.negativeTonestring'good', 'bad', 'neutral'Wash tone where the first named series is below the second.
fanobjectUncertainty fan: nested bands declared as ordinary series pairs. The engine derives no quantiles — it paints declared numbers and verifies their nesting.
fan.ofstringCentral trajectory series id; the bands are painted around it.
fan.bandsarray1..4 nested bands, authored OUTERMOST FIRST.
fan.bands[].lowstringSeries id carrying the lower bound of this band.
fan.bands[].highstringSeries id carrying the upper bound of this band.
fan.bands[].labelstringREQUIRED. What the interval means — '80% predictive interval', 'P10-P90 of 500 sims' and 'min/max of three scenarios' are drawn identically and mean different things.
fan.showBoundsbooleanfalseAlso draw the bound series as dotted hairlines; default false.
targetsarrayChart-level target markers, each naming its owning series and category.
targets[].atstringCategory id receiving the target marker.
targets[].valuenumberTarget value in the series scale at the named category.
targets[].labelstringOptional authored text identifying the target.
targets[].seriesIdstringData-series id the target marker belongs to.
methodNotebooleanfalseDefault false. true adds the method footnote of a bump chart: how ranks are derived and how ties are ranked. A fan whose interval is undeclared at some periods and near-zero end labels that were folded print their notes regardless.
referenceBandsarrayNamed reference levels behind the line, such as the cycle regimes of a growth rate: each band is one level (value) or a range (low, high) in the value-axis units, drawn as a thin neutral band across the plot. Each is named in a column right of the plot, the bold label then the plain description; where the names have to spread apart to fit, a thin elbow leader ties each name to its band, and the leaders never cross each other or the line. The value axis reaches every band. At most 6 bands; overlapping bands warn reference-band-overlap, a band named only by numbers warns reference-band-unexplained. Not on variant 'bump'. Example: [{ "value": 60, "label": "60+", "description": "very strong cycle" }, { "low": 35, "high": 40, "label": "35 to 40+", "description": "typical cycle" }].
referenceBands[].idstringStable identity of the band, used in scene ids and warnings; default 'band-<n>' in authored order. Example: 'strong'.
referenceBands[].valuenumberOne level in the value-axis units, drawn as a 4 px band centered on it. Give value or low and high, not both. Example: 60.
referenceBands[].lownumberLower edge of a range band in the value-axis units, with high; a range thinner than 4 px still draws 4 px. Example: 35.
referenceBands[].highnumberUpper edge of a range band, above low. Example: 40.
referenceBands[].labelstringREQUIRED. The band's name, printed bold at the start of its entry in the column right of the plot: the level or range as the reader should say it. Example: '60+'.
referenceBands[].descriptionstringWhat the level means, in plain type after the name; it wraps under it when the column is narrow. Example: 'very strong cycle'.

Plus the shared options. This type does not accept labelPosition, valueAxis.break. This type ignores animate, debug, rowLabels, categoryLabels, secondaryAxis, sort, topN, bandFraction 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. Bad anchors report the cause and valid ids.
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. placement: auto | label | bracket, default auto. With both ends on two different series at the last category, bracket draws the gap bracket in the right margin: an open ring on each end point, a dashed guide from each ring to the margin, a bracket with an arrowhead toward the measured end, and the gap as a large number beside it; the end values sit just over and under their guides. auto draws the bracket where gapFill washes the same two series and the label elsewhere. label keeps the label at the anchor. On a bar chart a diff between two categories of one series rides in the shorter bar's row under auto: an arrow from the longer bar's end to the to end, with the number in a break of the shaft; label keeps the arrow off the rows with the number beside it. bracket on other anchors, or on stacked variants (stacked-area, stacked100-area), warns gap-bracket-unavailable and keeps the label. caption: string. A short line under the bracket number that says what it measures, right-aligned in muted ink. Only a gap bracket prints it; elsewhere it warns gap-caption-ignored.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. Diff labels precede point and end labels. Same-category arms attach there; anchored strokes do not displace them. Drawn reference series accept anchors. Bad anchors report the cause and valid ids.
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. placement: auto | label | bracket, default auto. With both ends on two different series at the last category, bracket draws the gap bracket in the right margin: an open ring on each end point, a dashed guide from each ring to the margin, a bracket with an arrowhead toward the measured end, and the gap as a large number beside it; the end values sit just over and under their guides. auto draws the bracket where gapFill washes the same two series and the label elsewhere. label keeps the label at the anchor. On a bar chart a diff between two categories of one series rides in the shorter bar's row under auto: an arrow from the longer bar's end to the to end, with the number in a break of the shaft; label keeps the arrow off the rows with the number beside it. bracket on other anchors, or on stacked variants (stacked-area, stacked100-area), warns gap-bracket-unavailable and keeps the label. caption: string. A short line under the bracket number that says what it measures, right-aligned in muted ink. Only a gap bracket prints it; elsewhere it warns gap-caption-ignored.Drawn reference series accept anchors. Bad anchors report the cause and valid ids.
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. Bad anchors report the cause and valid ids.
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. Bad anchors report the cause and valid ids.
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. seriesId: string. Series whose mean is measured. 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. Bad anchors report the cause and valid ids.
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. labelPlacement: top | inline | badge, default top. inline (line) sets the block beside its rule inside the plot. badge (gantt) draws the label, at most 3 characters, in a filled circle at the top of its rule; badge events never go to the numbered key.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.

Trend lines

Set trend: true or trend: { label: "Linear trend" }. Each shown data series gets one ordinary least-squares fit. Reference-role series get none. The line uses the series color and the theme reference dash. It covers the first to last non-null fitted point and is clipped to the value axis. The legend uses the label solver and prints the series name, signed slope and r². The label names the legend entries; it adds no text over the plot.

Dates must be valid and strictly increasing. Regular month, quarter and year dates (all month starts or all month ends) fit on the calendar period index, so no month length is assumed, and the key says "per month", "per quarter" or "per year". A skipped period keeps its step: January to March is two months. These charts keep their spacing when the trend turns on. Dates exactly 7 days apart say "per week". Other dates use elapsed UTC days from the first shown category and say "per day"; turning the trend on gives their points exact date spacing. Other categories use their original positions and say "per period"; that means one category step. Nulls keep their x gap and do not enter the fit. The slope uses plotted value units, or index points under rebase100. Percent levels use percentage points (pp). r² describes fit strength; it does not establish a cause.

At least three non-null values are needed in each fitted series. A shorter series gets no trend and warns trend-undefined. A flat series has slope zero and undefined r². Line and area variants support trends; stacked areas and bump refuse trend-unsupported. A window or zoom changes the shown range and therefore the fit. Min-max sampling of a long line only thins the drawn points: the fit still reads every source value in the shown range, so the slope does not depend on the chart width. The fit includes supplied forecast values but does not extrapolate beyond the fitted range. The layout receipt derived.trends carries the slope, intercept, r², sample size and centered moments for each fit. CLI and MCP reading.derived list the slope, intercept and r².

Cycle bands

Named reference levels behind one long line: the regimes a growth rate moves between, such as a strong cycle, a typical cycle and a down cycle. Each band in options.referenceBands is one level (value) or a range (low and high) in the value-axis units. It draws as a thin neutral band across the plot, and its name stands in a column right of the plot, the bold label and then the plain description. Where the bands sit closer than the names are tall, the names spread apart and a thin elbow leader ties each one to its band. The leaders run between the plot and the column, so they never cross the line or each other.

The callouts carry the story. headline: "${value}" prints the anchored value in bold over the plain text, so the number comes from the data, and arrow: true points a thin arrow from the text at the point. The latest value takes the period as its text.

Keep to three or four bands; more than six is refused. Give each band its own span: overlapping bands warn reference-band-overlap. Name what the level means, not only its number, which the value axis already prints: a band named "45" alone warns reference-band-unexplained. A plan corridor or a target belongs in a band or valueLine annotation, not here. The fixture cycle-bands draws 583 monthly points the same way.

{
  "type": "line",
  "data": {
    "categories": ["2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"],
    "series": [
      {
        "id": "growth",
        "label": "Sensor-module sales growth",
        "values": [-1, 2, 61, 14, -11, 7, 26, 3, -8, 19, 45, 52]
      }
    ]
  },
  "options": {
    "title": "Sensor-module growth in 2026 was the fastest since 2017",
    "subtitle": { "measure": "Year-over-year sensor-module sales growth" },
    "unit": "%",
    "valueLabels": "none",
    "valueAxis": { "gridlines": true },
    "source": "Synthetic data for an invented component industry",
    "referenceBands": [
      { "id": "strong", "value": 45, "label": "45+", "description": "strong cycle" },
      {
        "id": "typical",
        "low": 20,
        "high": 25,
        "label": "20 to 25",
        "description": "typical cycle"
      },
      {
        "id": "modest",
        "low": -10,
        "high": -5,
        "label": "−5 to −10",
        "description": "modest down cycle"
      },
      { "id": "deep", "value": -20, "label": "−20", "description": "deep down cycle" }
    ]
  },
  "annotations": [
    {
      "kind": "callout",
      "at": "2017",
      "headline": "${value}",
      "text": "Peak in handheld-loom demand",
      "arrow": true
    },
    {
      "kind": "callout",
      "at": "2026",
      "headline": "${value}",
      "text": "2026",
      "preferSide": "right"
    }
  ]
}

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.

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
actuals-forecast-operating-rateexampleActuals and forecast output with a selected operating-rate tier
actuals-forecast-marketexampleActuals and forecast market profile with names at the line ends
recession-era-bandexampleRecession era band sits behind line marks and labels
peer-regions-rampexampleThree peer regions take the theme ramp, one color each
multiline-arr-endpoint-cagrexampleMulti-series line with endpoint labels, highlight, and CAGR arrow
multiline-highlight-fadeexampleFive channels with one highlighted: the others keep their color and fade
stacked-area-services-growthexampleStacked area: services portfolio growth in USD m
stacked100-area-revenue-mixexampleArea 100%: revenue share mix shifts to subscriptions
stacked100-area-mixed-sign-fail-closedtortureTorture: mixed-sign stacked100-area category fails closed with n.m.
ratio-tier-zero-denominatortortureTorture: zero denominator stays visible as n/a in the ratio tier
nulls-interpolated-and-brokentortureTorture: nulls — one series interpolates, one breaks the line
dense-20-categories-all-labelstortureTorture: 20 categories, valueLabels 'all', sweepHide density
dense-inline-labelstortureTorture: six crossing lines keep collision-free inline names
single-categorytortureTorture: one category — markers and endpoint labels only
crossing-lines-endpoint-spreadtortureTorture: converging lines force endpoint-label spreading
rebase100-indexed-peerstortureTorture: rebase100 — peer share prices indexed to 100
era-event-markersexampleEvent markers: measurement honesty on a monthly trend
dense-event-badgestortureTorture: five events on twelve months, four in the lane, the one that does not fit in the key
policy-rate-steptorturePolicy rate step path holds each decision until the next meeting
real-rate-gapexampleReal-rate spread changes tone where the two lines cross
emissions-target-pathexampleFuture emissions goals remain visible beyond the actual line
oil-event-contextexampleInline multi-line event context sits beside the monthly rule
brand-share-bumpexampleHalden overtakes Nurthwold while Tarn enters and Vesper leaves the field
bump-torture-focustortureFour of eighteen suppliers drawn, the field still ranked
bump-two-entitiesexampleThe minimum honest bump: two entities and one crossing
bump-two-point-long-namesexampleTwo periods with long carrier names, each on one line
bump-two-point-close-ranksexampleEight close ranks reverse between two periods, every value printed
revenue-forecast-fanexampleRevenue outlook with a 50% and an 80% interval, forking at the forecast
fan-torturetortureFour nested intervals widening with the horizon, the innermost closed for five periods and reopened, an undeclared gap, and a zero crossing
fan-retrospectiveexampleA backtest fan: the interval is open from the very first period
trajectory-highlightsexampleThree trajectory inflections are called out with shared icon chips
three-horizonsexampleThree smooth planning horizons occupy separate windows
product-lifecycleexampleOne continuous product curve is partitioned into four lifecycle phases
smooth-gapstortureTorture: monotone smoothing either bridges or breaks declared null gaps
sparse-phasestortureTorture: four one-category phases share three exact boundaries
monthly-origin-ticktortureTorture: 36 monthly ticks with the origin at the axis crossing
area-services-forecastexampleArea chart with an actual-to-forecast fill change
area-corridor-promotionexampleArea chart with a plan corridor and a promotion period behind the fill
stacked100-area-revenue-forecastexampleArea 100% with hatched forecast shares
stacked100-area-thin-interior-bandsexampleArea 100% with thin middle periods and named outside endpoints
zoom-preserves-source-meantortureVisible months retain the full-series mean
live-window-preserves-sourcetortureSampled live periods retain the source mean
auto-decimated-daystortureEight years of daily values sample to the width of the plot
decimate-none-daystorturedecimate: 'none' draws every one of the daily values
area-focus-tintexampleA single area in a pale tint of the focus under an ink line, the forecast hatched
option-lower-ratioexampleDefects fall relative to inspected units
option-lower-bumptortureDelivery-time ranks reward shorter waits
option-step-before-extremesexampleCapacity changes at quarter boundaries
option-phase-tonesexampleCycle time across five operating phases
option-cost-gapexampleOperating cost compared with budget
option-neutral-gapexampleOperating cost compared with budget
option-cost-gap-darkexampleOperating cost compared with budget on a dark page
shared-trajectory-milestones-1exampleOperating milestones beside the measured trajectory
shared-trajectory-milestones-2tortureOperating milestones beside the measured trajectory
shared-trajectory-milestones-3tortureOperating milestones beside the measured trajectory
shared-trajectory-review-1exampleAuthored review status beside measured trajectories
shared-trajectory-review-2tortureAuthored review status beside measured trajectories
shared-recession-period-bandsexamplePeriod annotations separate the starting quarter, recession and recovery
tolerance-bandexampleTolerance band around a 90 indexed target
two-series-level-diffexampleMulti-series line with last-period difference and series CAGR
callout-arrowexampleCallout arrow from a note to the point it names
callout-arrow-compactexampleCallout arrow in the compact arrow look
callout-arrow-heavyexampleCallout arrow with a heavy shaft
line-compact-380exampleLine in a 380px dashboard column
torture-long-labelstortureTorture: long names at a generous size read whole, never cut
highlight-overlaptortureActual remains visible when plan overlaps
event-key-glyphtortureA change is named beside its diamond
adjacent-eras-scoped-meanstortureAdjacent periods have a boundary and their own means
weekly-month-day-axistortureTwenty-five weekly labels use one date row
one-point-hollow-triangletortureA one-point triangle key keeps its outline
iso-months-year-rowexampleISO month ids across two years print months and a year row
rates-as-fractionstortureSQL fractions use percentage cells at input
ordered-ramp-rest-apartexampleRest only has to differ from the ordered ramp (othersShade 'apart')
drawing-kindsexampleA box over the maintenance weeks, the normal load and an arrow from a note
value-line-end-valueexampleA named value line at the series end value prints its name beside that value
shade-band-inside-wrapexampleA narrow shaded band wraps its name inside
point-emphasisexampleA selected trough emphasizes its marker and value while the line keeps its ink
small-drawerexampleA plain line chart in a 480 by 200 drawer
weekly-orders-anomaliesexampleTwo weeks break out of the normal order range (anomaly on a line)
weekly-events-laneexampleEvent lane over a weekly line: dotted rules behind the data, the rest numbered in the key
events-key-onlyexampleEvent key only on a line: numbered markers in time order
focus-active-seriesexampleFocused series: Beta labels gain solver priority
line-near-zero-tailsexampleNear-zero tails share one end label
line-partial-weekexampleWeekly conversion with the running week marked partial
line-host-cardtortureA line inside a host card that draws its own title and notes
line-host-card-unit-showntortureA line inside a host card that also prints the unit
recession-era-band-mark-inkexampleA hero line in the mark ink, apart from the text ink
line-cell-label-on-last-complete-weekexampleThe end label moves off the running week onto the last complete one
cohort-curvesexampleTwelve retention curves on one ink ramp, each named at its end
cohort-curves-line-endexampleRetention curves named at their own ends on a 20 % grid
brief-current-vs-priorexampleCurrent year at 1.5 px in the ink, prior year at 1 px muted, ring on the latest point
theme-axis-conventionsexampleA theme titles the value axis, starts it at zero and names an early line end at its point
stacked-area-from-originexampleA theme starts the stacked bands at the value axis; forecast bands keep their fill under the hatch
cohort-curves-gutterexampleEvery end label in the column right of the plot, with a leader
orders-threshold-corridorexampleAuthored anomaly bounds with a named rule instead of the MAD corridor
orders-strict-kexampleThe MAD rule with a stricter k of 5
conversion-events-key-titleexampleEvents as numbered markers only, keyed under an authored heading
indexed-peers-from-q3exampleEach series indexed to 100 at the third quarter instead of the first
regions-ramp-targetexampleA chart-level target marker on one series
cycle-bandsexampleOne monthly growth line against four named cycle bands, the peak and the latest value called out
gap-bracketexampleTwo daily lines with a neutral gap wash and the end gap as a margin bracket with a caption
stacked-area-benchmarkexampleA labeled benchmark across stacked areas
stacked-area-rest-seriesexampleA stacked area with a Rest series whose values the dashboard leaves unprinted
stroke-marker-samplertortureSolid actuals, a dashed forecast and a dotted plan beside a rival and a prior-year reference, four marker shapes
stacked-area-rebase-missing-notetortureCustom notes disclose source nulls and rebase suppression
stacked-area-rebase-zero-notetortureCustom note for a series with a zero index base
band-label-headroom-rising-tailtortureA band label over a rising tail takes headroom above the plot
late-start-first-valuetortureA series that starts in month 7 prints its first value (valueLabels ends)
uneven-date-trendsexampleLeast-squares trends use elapsed days, with a separate fit for each series
x-time-dailyexampleWhole-day readings use day ticks at every width
x-time-berlin-dstexample5-minute readings over two days in Berlin, across the change from summer time (continuous time axis)
x-time-uneven-sensorsexampleUneven readings keep their spacing; a missing reading breaks the line (continuous time axis)
x-number-trailexampleElevation by distance on a plain-number x (continuous number axis)
x-time-partial-weekexampleWeekly orders with the running week marked by data.partial (continuous time axis)
x-time-range-edgesexampleA daily line continues to both range edges between readings
log-axis-usersexampleUsers grow across orders of magnitude