Skip to content

Charts Warnings

WARN-ANNOTATION-NOTE-MOVED: Annotation note moved away from its point

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: annotation {index}'s text moved to another side of its point to clear the chart, with no connector back to it.

Fix: Set connector: line so the note points at its anchor, or set style.marks.text.position.edge to keep the text on one side.

Fired when a note's auto text edge could not stay on its preferred side without covering the data or other annotation text, so the text moved to another side of its point, and the note draws no connector to say which point it names.

WARN-ANNOTATION-NOTHING-DRAWN: Annotation draws nothing

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: annotation {index} draws nothing: {reason}.

Fix: Anchor the annotation inside the plotted domain, name a category the chart shows, scope it to rows the chart plots, give a trend enough rows for its fit, or remove it.

Fired when an annotation resolves but has nothing to draw: its category or date names no slot on the axis, its rule or band falls outside the plot once clipped, its scope has no plotted rows, or its trend has too few rows for the fit or interval. The rest of the chart renders.

WARN-AREA-UNSTACKED-READS-AS-STACKED: Unstacked area is hard to tell apart from a stacked one

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: hard to tell this area chart apart from a stacked one. Its {count} series from {field!r} overlap, so the outer edge represents an individual series value, not the total.

Fix: Set style.stack: "zero" if the series compose a total, or use type: line if they are independent trends. Which one this occurrence recommends leading with depends on how much of the real total the chart's outer edge is hiding.

Fires when an area chart resolves to an unstacked mode (stack: none), paints two or more series (from a color: column or a wide y: [a, b, c] measure list), and no pair of those series visibly trades places anywhere on the axis. A pair is compared at the x values they share, on values coercible to a number, and only where both sit on one side of the zero baseline: a series painting above the baseline and one painting below it never warn about each other, since their bands occupy disjoint regions rather than nesting. A log y axis is not judged, since position there is logarithmic and no single ratio converts a gap at every magnitude. dbt charts already signals stacking through fill weight: an unstacked area's fill is translucent, a stacked one's is solid. A series that visibly trades places with another declares itself an overlap; the reader sees two bands swap and reads them as independent. Where that never visibly happens, each band looks nested inside the next at every x, indistinguishable from a real stack whatever the fill opacity says. A reader takes the outer edge for the total; it instead represents an individual series value, and the real total's magnitude may be several times larger. The render is unchanged by this warning; it reports a chart that is very likely either a stacked area missing its stack: key or a line chart drawn with the wrong mark. Small multiples split by the series column itself give each series its own panel, so no panel holds a pair to compare and nothing is reported. A chart with overlay layers is never judged: a layer can paint the very total the base series' outer edge only looks like, and judging the base alone would fire on a chart that already resolves the ambiguity. A series that repeats the same x value on two or more rows within one panel abstains the whole panel, since there is no principled way to pick which of the repeated values the chart actually paints.

WARN-AREA-ZERO-BASELINE-CROPPED: An area chart's zero baseline is cropped

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

Chart {chart_id!r} sets axis_y.scale.continuous.zero to false, so the area's fill starts above zero and overstates the change.

Fix: Remove axis_y.scale.continuous.zero to keep the zero baseline, or use type: line to zoom into a range. If the crop is deliberate, add WARN-AREA-ZERO-BASELINE-CROPPED to the chart's warnings_ignore.

An area's fill encodes magnitude from the zero baseline, so style.axis_y.scale.continuous.zero: false shows a cropped fill that overstates change. A zoomed area is sometimes deliberate, so this warns instead of failing and can be suppressed with warnings_ignore.

WARN-AXIS-ALIGN-DISCARDED: Authored axis_y.labels.align has no effect on a house-format quantitative axis

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

Chart {chart_id!r}: axis_y.labels.align = {authored_align!r} has no effect: the format alias {format_alias!r} forces label.align = 'right' on right-edge quantitative axes for correct digit alignment.

Fix: Remove axis_y.labels.align from this chart. To opt out of forced alignment, use a literal d3 format spec (e.g. '.1%') instead of the alias.

Fired when a chart authors axis_y.labels.align alongside a house-rule format alias (percent, currency, etc.) on a right-edge quantitative axis. The alias forces label.align = 'right' for place-value alignment; the authored align value is silently discarded.

WARN-AXIS-LABEL-COLLISION: X-axis tick labels overlap with no room left to fix it

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: x field {field!r} has {label_count} tick labels that overlap even after skipping and tilting labels — they will render on top of each other.

Fix: Widen the chart, reduce the number of x categories (roll up to a coarser time grain, filter the data), or shorten the labels.

Fires on a line/area/scatter chart whose x-axis tick labels still overlap after the render tried every enabled overlap strategy (style.axis_x.labels.overlap.skip/.tilt, both on by default) — labels that cannot all be read at this width. Unlike WARN-TOO-MANY-X-CATEGORIES (a fixed category-count ceiling on a categorical band axis), this fires on any x-axis shape, including a continuous temporal axis whose auto-picked ticks simply don't fit the chart's width.

WARN-AXIS-POSITION-NOT-APPLIED: A board or theme axis position does not reach a horizontal bar

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} is a horizontal bar, so the `{key}` set on its board or theme does not apply to it. On a horizontal bar `{instead}` places that edge.

Fix: On a horizontal bar axis_x.position (left or right) places the category names and axis_y.position (top or bottom) the value axis. Set the one you mean, on the board, the theme or this chart.

Fired when a board or theme sets axis_y.position to left or right, or axis_x.position to top or bottom, and a horizontal bar inherits it. Each axis key drives the axis it names, so those edges belong to vertical charts and are dropped for the bar. A chart's own style naming such an edge is an error (ERR-AXIS-POSITION-WRONG-EDGE). Built-in themes set only auto.

WARN-AXIS-TITLE-TRUNCATED: Axis title was too long and was truncated with an ellipsis

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {authored_field!r} was truncated: the authored text {authored_text!r} did not fit within two lines at the available extent.

Fix: Shorten the axis title, or widen the chart so the title has more room.

Fires when an axis title is pre-wrapped to at most two lines (so a long title cannot collapse the plot) and the authored text is still too long: the last line is cut with a Unicode ellipsis (…) and the remainder of the title is lost. The title text in the message is the full authored text before truncation, so you can see exactly what was cut.

WARN-BAR-BAND-WIDTH-TOO-NARROW: Bar chart bands are too narrow to read

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} has {distinct} bands x {series} series across {render_width:.0f}px (~{bar_width:.2f}px per bar); {min_band_width:.0f}px is the threshold this configuration crosses, so bars will read as a merged block instead of separate marks.

Fix: Widen the chart (or, for a horizontal bar, make it taller), reduce the number of categories, or (for time series) roll up to a coarser grain (e.g. day -> week or month).

Fires on bar (vertical + horizontal) charts that pack so many bands into the plot's bounding dimension (width for vertical, height for horizontal) that each band's fill drops below a readability floor: the fill disappears and the bar's own border stroke merges neighbors into a "ghost band" smear. Classic trigger: daily-granularity data (hundreds of distinct days) rendered as bars at a normal chart size, or a grouped/wide bar whose per-series sub-band is too thin even though the outer band is not. Also fires on a numeric x (no band scale, vertical bars only) when the bar's width, authored or computed from gap/min_size/max_size, exceeds the gap between the closest two x values, so adjacent bars visually overlap.

WARN-BAR-CATEGORY-TICKS: Bar category axis draws a tick under every bar

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

axis_x.ticks.visible is on, so a tick sits under every bar and repeats what the bars already mark. Set axis_x.ticks.visible: false to turn the ticks off.

Fix: Set axis_x.ticks.visible: false in the chart's style.

Fires on a vertical bar chart whose resolved axis_x.ticks.visible is true, whether authored on the chart, the board, or by the theme. The band axis puts one tick under each bar, repeating the position the bars already mark. Horizontal bars do not draw category ticks and never fire.

WARN-BAR-CENTERED-NO-BASELINE: Centered bars share no baseline

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Centered bars share no baseline, so their lengths are hard to compare.

Fix: To compare them precisely, set style.stack: zero so every bar starts at zero.

Fires on every bar chart that resolves to style.stack: center, in either orientation and with any number of series, a type: funnel included, unless its style sets another stack. A centered bar spreads from a middle line instead of resting on a common baseline, so the eye cannot line the bars up against one edge to judge their lengths; they read as a shape, not as a comparison. The fix is style.stack: zero. The render is unchanged by this warning.

WARN-BAR-GROUPED-SERIES-COINCIDE: Grouped bar series paint on top of each other

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {field!r} is a temporal axis with no calendar grain to bucket by, so its color-grouped bars have no band to offset series within: every series paints at the same position, hiding all but the last one drawn.

Fix: Switch the x field to a categorical or bucketed-time column (so bars group side by side), or use a line/area/scatter mark, which already draw overlapping series legibly on a continuous time axis.

Fires when a color-grouped bar (color + stack: none) sits on a temporal x whose dates fall on no calendar grain, so the axis is continuous. Offsetting series needs a discrete band to divide bars within; a continuous time position has none, so every series paints at the identical position and width, each one occluding the series drawn before it. A quantitative x dodges its series and does not fire. The render is unchanged by this warning: bar renders the same overlapping marks a line/area/scatter chart already draws on the same data.

WARN-CALLOUT-TEXT-TRUNCATED: Callout text was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: callout {authored_field!r} was truncated: the authored text {authored_text!r} exceeded the maximum lines.

Fix: Shorten the callout text, or increase the chart height/width.

Fires when a callout chart's title, message, or hint text is wrapped and the last line is cut with a Unicode ellipsis because the text exceeds the maximum line count.

WARN-CATEGORY-COLOR-PIN-ORPHAN: A category_colors pin names a field no chart colors by

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

`style.charts.category_colors.{field}` pins colors for `{field}`, but no chart on this board has `color: {field}`, so the pin does nothing.

Fix: Pin a field a chart colors by with color:. A multi-measure y: chart has no such field; its series take palette slots in y: order.

Fired when a field pinned under style.charts.category_colors is named by no chart's color: channel, on the root board or any nested one. Typical causes are a misspelled column or a pin aimed at a measure name of a multi-measure y: chart, whose series have no color field to pin. The pin is ignored.

WARN-CATEGORY-COLOR-PIN-UNSEEN: A category_colors pin names a value this render never draws

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

`style.charts.category_colors.{field}` pins {values}, which this render does not draw; the pin was skipped. This render draws {drawn} for `{field}`.

Fix: Write the pin exactly as one of the drawn values is spelled, or remove the pin if no chart draws that value. A narrowed --chart layout can also leave a pinned value undrawn.

Fires when a value pinned under style.charts.category_colors.<field> names something none of the charts on this render actually draw for that field, and the absence is definite: either a chart drawing the field has a query that reads no board variable (so no variable filter can have hidden the value), or the pin is a near miss of a drawn value (a likely typo, named in the message). The pin is skipped rather than seated - seating it would claim a palette slot for a category nothing draws and push every real value along one. A pin absent only from charts whose queries read a board variable stays silent: another selection of the variable may draw it, which is what pins are for. A narrowed dct render --chart layout can still make a pin unseen on a variable-free chart.

WARN-CHART-TITLE-TRUNCATED: Chart title or subtitle was truncated with an ellipsis

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {authored_field!r} was truncated: the authored text {authored_text!r} did not fit within the available width.

Fix: Shorten the title or subtitle, or widen the chart: a board without an authored width: hugs its charts, so set the board's width: or the chart's width:.

Fires when a chart title or subtitle is wrapped and the last line is cut with a Unicode ellipsis (…) because the authored text exceeds the available width. The message shows the full authored text before truncation.

WARN-DUAL-AXIS-COMPETING-SCALES: Dual-axis chart plots two measures on independent scales

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {layer_col!r} is drawn against its own y-axis, separate from {base_col}. The two scales are set independently, so where the marks cross, which one sits higher, and how closely they track are artifacts of the axis ranges, not the data: readers will see a relationship that may not exist.

Fix: Show each measure in its own chart, stacked so they share the x-axis. To compare trends in one chart, index both series to a common start (e.g. 100) in the query so they share one axis; to show how one measure moves with the other, plot them as a scatter. If the second series is the same quantity in another unit (°F/°C, $/€), remove the layer and relabel the chart's opposite edge with style.axis_y.mirror and an expr that converts the value (for example format(datum.value * 1.8 + 32, '.0f')): one scale, two unit labels. Where the audience expects this form, list the code in the chart's warnings_ignore:. Both scales draw full-width gridlines, which interleave into an uneven ladder; set axis_y.grid.visible: false on the pinned layer to keep one set.

Fires on a layered chart where a layer is pinned to its own y-axis side, which gives it an independent y scale. A layer opts in by setting axis_y.position. The marks on the two scales are not comparable: crossings, relative height, and apparent correlation come from the axis ranges, not the data. Classic example: revenue bars with a headcount line on the right axis. A layer that sets only axis_y.title shares the base scale and never fires.

WARN-ENDPOINT-LABEL-GAP-OVERFLOW: Endpoint-label rail is too cramped for its intended spacing

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} packs {series_count} endpoint labels needing {gap_px:.0f}px apart into a plot shorter than that: labels are distributed evenly across the plot instead of at their intended spacing.

Fix: Give the chart more height, reduce the number of series, or switch to a color legend instead of an endpoint-label rail.

Fires when an endpoint-label rail's intended gap (font_size * constants.marks.ENDPOINT_LABEL_LINE_HEIGHT_MULTIPLIER) cannot fit between the rail's series count and the plot's actual height. This is advisory, not a floor: the rail still renders, with labels distributed evenly across the available plot rather than piled onto the domain edges.

WARN-ENDPOINT-LABEL-RAIL-OVERFLOW: Endpoint-label rail dropped series that had no room, despite fitting overall

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {dropped_count} of {series_count} endpoint labels could not be placed {gap_px:.0f}px apart and were dropped from the rail rather than piled onto the same spot.

Fix: Unlike a rail that is cramped everywhere, more height reliably helps here: it gives the clustered anchors room to spread apart from whichever series they crowded against. Reducing the series count or switching to a color legend also works.

Fires when an endpoint-label rail's real anchors are clustered such that some labels cannot be placed at the intended gap, even though (n - 1) * gap fits the plot height in the best case: that global check only proves the block of labels fits somewhere in the domain, not that the anchors' own positions leave room for all of them. Distinct from WARN-ENDPOINT-LABEL-GAP-OVERFLOW, which keeps every label and compresses the spacing instead: this fires only when some labels are dropped from the rail entirely.

WARN-ENDPOINT-LABEL-RAIL-TIED: Endpoint-label rail has no spread to place labels along

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: all {series_count} series end on the same value, so the rail has no vertical spread to space labels by: they are distributed evenly across the plot instead of stacking on one point.

Fix: This is a property of the data, not the layout; more height will not change it. Check whether the trailing rows are null or zero for every series; if that is expected, a color legend names the series without implying distinct endpoints.

Fires when an endpoint-label rail's labels cannot be spaced because no pixels-per-data-unit could be measured from them: every series ends on the same value (a trailing all-null or all-zero column is the usual cause), or the y scale collapsed them onto a single pixel. Distinct from WARN-ENDPOINT-LABEL-GAP-OVERFLOW, which is a height problem: this one is a data property and adding height cannot clear it. Advisory, not a floor: the rail still renders.

WARN-FACET-PANEL-WIDTH-BELOW-MINIMUM: Small-multiples panel width shrank below the legibility floor

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} facets into {panel_cols} column panel(s) at {panel_width:.0f}px each, below the {min_panel_px:.0f}px floor small multiples need to stay legible.

Fix: Widen the chart, reduce the column-facet's cardinality, or move part of the split from multiples.columns to multiples.rows (rows stack vertically instead of dividing the card's width).

Fires when a small-multiples chart's column-facet cardinality leaves each panel narrower than the configured legibility floor. The floor is constants.layout.FACET_MIN_PANEL_PX. The card's declared width is never negotiable, panels shrink below the floor rather than push painted content past the card's edge, so this is the author's only signal that the panel count has outgrown the card.

WARN-FORMAT-UNUSED-NAME: style.formats name is defined but nothing uses it

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

`style.formats.{name}` is defined but nothing uses it.{did_you_mean} To restyle an engine format, redefine its name (`number`, `currency`, `date_short`, ...).

Fix: Name it in a format: slot, redefine an engine name instead, or delete it.

Fires at compile time for a name this board file's own style.formats defines that no format slot on the board references and that is not an engine format name. The engine's names are the keys that restyle every chart (number, currency, percent, date_short, ...). A name inherited from meta.yml or extends never warns here, since a sibling board may use it. Emitted by compile/validate/board_warnings.py.

WARN-GRADIENT-HINGE-MISMATCH: Color scale hinge does not match its palette or data

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: the color scale on {field!r} {problem}.

Fix: Set hinge to the value that should read as neutral (0 for signed data) on a diverging palette, and omit hinge on a sequential one.

Fires when a continuous color scale pivots somewhere the author did not choose: a diverging palette with no hinge puts its neutral color at the data midpoint; hinge: auto on data that does not cross zero falls back to the midpoint too; a sequential palette has no neutral center for a hinge to pivot on. Applies to heatmap, geoshape, color channels, and table column scales.

WARN-KPI-ALIGN-OVERFLOW: KPI align was ignored because a text run overflowed the card

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: a text run is wider than the card, so align: center/right was not applied; every run on the card stays left-aligned and the overflowing one spills past the right edge.

Fix: Widen the card, shorten the value with a more compact format, or drop align: so the left-aligned overflow is expected.

Fires when a KPI authors align: center or align: right and any of its text runs (value, label, or support) is wider than the available content width. Alignment is a whole-card choice, so it is dropped for every run rather than applied to the ones that fit: clamping per run would leave the card with two different alignments. Shifting the run would give it a negative x, and the card's SVG viewport clips at x=0; destroying the value's LEADING characters, so a right-aligned 1,234,567,890 would read as a well-formed but wrong 234,567,890. The renderer keeps the run at the left edge instead, where overflow spills right and reads as visibly truncated, and reports that the authored align did not take effect.

WARN-KPI-INLINE-VARIANT-FALLBACK-TO-STACKED: KPI inline variant fell back to stacked

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: style.variant: {authored_text!r} did not fit the card at the available width: value, label, and support fell back to the stacked arrangement instead of painting past the card edge.

Fix: Widen the card, shorten the label or support text, or author style.variant: stacked directly.

Fires when an inline KPI's assembled value + label + support run does not fit the card at its available width. The renderer falls back to the stacked arrangement for that card rather than paint past the card edge, so the card's actual layout no longer matches the authored style.variant: inline.

WARN-KPI-LABEL-TRUNCATED: KPI card label was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: KPI label was truncated: the authored text {authored_text!r} did not fit within the card at the available width.

Fix: Shorten the KPI label, widen the card, or use a smaller font size.

Fires when the KPI card label text is clipped or wrapped with an ellipsis because it exceeds the card width. The message shows the full authored label before truncation.

WARN-KPI-SUPPORT-TRUNCATED: KPI card support line was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: KPI support line was truncated: the authored text {authored_text!r} did not fit within the card at the available width.

Fix: Shorten the support label, widen the card, or use a smaller font size.

Fires when the KPI support explainer is cut with an ellipsis because the support row is wider than the card. The glyph and value stay whole; the message shows the full authored explainer.

WARN-LAYER-DATA-OUTSIDE-DOMAIN: Layer data falls outside its authored y domain

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: layer {layer_col!r} has values from {data_min} to {data_max}, but its `axis_y.scale.domain` is [{lo}, {hi}], so the marks outside the domain are cut off at the plot edge.

Fix: Widen axis_y.scale.domain to cover the data, or filter the rows in the query. To let the marks run past the plot deliberately, set axis_y.scale.clip: false on the layer.

Fires on a layer whose authored y domain excludes some of the layer's own values while its clip is on, which is the default. Those marks are clipped at the plot edge, so the data they carry is not visible. Set axis_y.scale.clip: false on the layer to let them run past the plot.

WARN-LAYER-X-DOMAIN-PAINT-ORDER: Layered chart x-axis is ordered by paint order, not by the data

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: layer queries contribute {n_new} x categor{plural} ({sample}) that the base query never returns on {x_field!r}, and there is no order the base states to place them into, so the axis is drawn base-query rows first, then each layer's, and the left-to-right reading order is paint order rather than an ordering the data states.

Fix: Return every x category from one query: join the layers onto a shared spine so the axis order is that query's. An authored sort: is not a fix: it orders only the categories the base query returns and leaves the layer's appended in paint order.

Fires on a layered chart whose typed layers contribute x categories the base query does not, either from their own query:, or from their own x: column on the shared one, when the engine cannot place them into an order the base states. Two shapes reach that: the categories have no derivable order at all (not dates, not numbers), or they do but the base query's own rows are not in it, so there is no direction to extend. Date-like buckets and numeric categories over a base already in that order are placed into it instead, and never warn. Plain labels (month abbreviations, region names) cannot be: the union is base-query order followed by each layer's own, which is the order the layers happened to be painted in. On the migrated shape this reads as a chronology it is not: Jan, Mar, May, Feb, Apr, Jun. Sorting them lexically would be worse than paint order, so the engine leaves the order alone and says so rather than guessing.

WARN-LAYERED-CHART-SHARED-Y-AXIS-SCALE-MISMATCH: Layered chart y series have a large scale mismatch

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: y columns {col_a!r} and {col_b!r} share a y-axis, and {col_b!r} reaches only {reach:.1%} of it: the smaller series will be visually crushed to a flat line.

Fix: Index the series to a common scale in the query (e.g. percent change, or 100 = first period), or show them as two charts stacked so they share the x-axis.

Fires on a layered chart where the base chart's own y series and/or its layers share the y-axis and one series' drawn band is under 6% of the axis (from zero when the axis includes it, else its own variation): the smaller series is visually crushed to a flat line. Classic example: revenue (millions) overlaid with conversion rate ([0, 1]). A layer that pins its own y-axis position opts out.

WARN-LAYOUT-MIN-EXCEEDS-HEIGHT: Chart's category count needs more height than its row allows

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} has {n_categories} category bands, which need at least {min_height:.0f}px to stay readable, but its row/tile height caps it at {authored_height:.0f}px. The chart rendered at {min_height:.0f}px anyway: the row's authored height was not honored, and any sibling charts sharing the row grew to match.

Fix: Raise the row's height to fit the category count, or reduce the categories (filter, paginate, or roll up to a coarser grain) so the readable minimum fits inside the authored height.

Fires when a horizontal bar chart's category count forces a minimum height (one readable band per category) that exceeds the row/tile height its author assigned. The engine expands the chart to the computed minimum regardless (squashing labels past legibility to honor an impossible authored height would be worse), so the row's authored height silently loses; any sibling chart in the same row inherits the expansion. This warns so the author learns why the row grew, instead of measuring it by hand.

WARN-LEGEND-OVERLAY-COVERS-MARKS: An overlay legend covers data marks

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: the overlay legend sits on top of the data, hiding part of a mark.

Fix: Move the legend to a corner the data leaves empty (key.legend.position), or set overlay to false to reserve a strip for it.

Fires on a line or area chart whose legend is drawn over the plot (key.legend.position.overlay true) and whose drawn box meets a line, an area's outline stroke, or a point. A line is not drawn across a missing value, and a filled area under the legend does not count. Other chart types never fire. The legend stays where it is; the warning only reports the overlap.

WARN-LEGEND-POSITION-WIDTH-FALLBACK: A narrow card overrode an authored key placement

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} authored `{authored_edge}`, but a card this narrow cannot hold that placement, so the legend was placed on the `{resolved_edge}` edge instead.

Fix: Widen the chart, or drop the key setting and accept the automatic placement.

Fires when a chart authors a key.legend.position.edge, or key.type: direct, that its card is too narrow to honor, and the engine places the legend elsewhere. A cartesian chart (bar, line, area, scatter, heatmap) authoring a non-top edge on a card in the tiny width tier gets a compact top strip, and so does key.type: direct, whose on-chart series names need more width than the card has; a pie or donut authoring a side edge (left or right) gets its attached table below the wheel when the wheel region beside it would be too narrow. The fallback itself is not a defect (the card physically cannot fit that placement); this warning exists only because the override was otherwise silent: the resolved chart renders a different legend position than the one the author wrote, with no signal that happened.

WARN-LEGEND-VALUES-UNRESOLVED: style.key.legend.values entry does not resolve against the legend domain

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} authored `key.legend.values` entries {values} that did not resolve to exactly one legend entry. Legend domain: {domain}.

Fix: Check the spelling against the legend domain, or remove the entry if it's expected to be legitimately absent sometimes.

Fires when style.key.legend.values names an entry that matches none of the chart's legend entries, or matches more than one. The entry is dropped rather than shown or causing a render failure. If every authored entry misses, the legend falls back to its default order. Covers every nominal/ordinal color: field on bar, area, line, scatter and heatmap, a wide y: [...] chart, an overlay's layers: labels, and a geoshape choropleth. Not checked: point_map/bubble_map (no legend resolution there), a quantitative, temporal, or boolean color: column (key.legend.values is used exactly as authored, with no diagnostic on a miss), and an overlay whose base y is non-quantitative (its shared color scale is never built, so key.legend.values passes through verbatim).

WARN-LINE-JOINS-MISSING-PERIODS: Line joins straight across periods missing from the data

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: the {chart_type} joins straight across periods that have no row, so the gap reads as data: {detail}.

Fix: Make each missing period a row with a NULL {y_field}: LEFT JOIN the query to a spine of every {grain} from {first} to {last} (generate_series or a date table){by_series}. The line then breaks at the gap. If the join is deliberate, add warnings_ignore: [WARN-LINE-JOINS-MISSING-PERIODS] to chart {chart_id!r}.

Fires on a line or area chart with a temporal x when, for a series, the x values keep a regular grain (the smallest step between consecutive values is also most of the steps) and two consecutive values with a y skip one or more periods of that grain while the line still joins them. A line breaks at a row whose y is NULL and across a large gap (one far wider than the series' usual step, or a skipped period wide on the plot); a smaller run of periods with no row draws no gap, so the line joins the two neighbors and the missing periods look like a straight trend. With style.marks.line.connect set to true the line joins every gap, and every skip fires. Irregular or event-shaped x values have no grain to skip and stay quiet, as does a series whose missing periods are already rows with a NULL y. A daily series with no weekend rows does not count Saturdays and Sundays as missing.

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

Link {link!r} at {field_path} points at {slug!r}, which is not a board in this project.

Fix: Write the slug of an existing board as a root-relative path, such as '/user-360'.

Fired by validation when a chart, table-column or footer link: resolves to a board that no board file in the project (installed packages included) provides. The board still saves and renders, but clicking the link lands on a 404. Links to other sites, variable-only links, links the built-in data views serve, and links whose path holds a {{ }} template are not checked.

WARN-LOCAL-TIME-LABEL-EXPR-ON-BUCKETED-AXIS: Authored axis label expression uses local time on a bucketed axis

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: axis_x.labels.expr calls {accessor}(), which reads datum.value in the render process's time zone. Static rendering pins that to UTC, so the {time_unit!r} bucketing's UTC-midnight tick values resolve in UTC today, not necessarily the zone you or the chart's viewers are actually in, and dbt charts has no way to render this in a different zone.

Fix: Replace local-time accessors with their utc-prefixed equivalents (utcFormat()/utcyear()/utcmonth()/...), e.g. utcFormat(toDate(datum.value), '%b %Y'), to make the UTC result explicit instead of implying a local-time read that never happens.

Fires on bar (vertical + horizontal, single-metric + multi-metric), line, and area charts when axis_x.labels.expr contains a local-time accessor (timeFormat(), year(), month(), date(), quarter(), ...) while the chart's x-axis buckets to a UTC-midnight calendar grain (yearmonth, yearquarter, year, ...), whether authored via axis_x.time_unit or auto-detected from the query data. A bucketed time unit produces UTC-midnight Date values, and dbt charts always renders statically in UTC, so a local-time accessor reads them as UTC today, the same result its utc-prefixed equivalent would give, and no longer dependent on which machine renders the chart. It still cannot be made to read in a different zone: a bucket is its calendar date's UTC midnight whatever the board's regional.time_zone. Heatmap and scatter are not yet covered. dbt charts never rewrites an authored label expression, so this only warns; switch to utcFormat() or utcmonth()/utcyear()/... to say what actually happens.

WARN-NORMALIZE-PERCENT-FORMAT-READS-RAW-VALUE: Percent format on a 100% stack formats the raw value, not the share

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: percent format {format!r} formats the raw {field!r} value, not the share the normalized stack paints: one stack group's values sum to {total}, not 1, so the hover rows and the value labels multiply a raw number by 100 and print it as a percentage.

Fix: Drop the percent format (a normalized stack already labels its axis 0-100%, so the format never reaches that axis), or make the measure a real 0..1 share in SQL by dividing each value by its group's total, so the raw value and the painted share are the same number.

Fires when a bar or area chart resolves to style.stack: normalize, its measure carries a percent format, and the raw y values in some stack group do not already sum to about 1. The normalized stack pins the measure axis to 0-100% itself, so an authored format never reaches that axis; it reaches the hover rows, the printed value labels, and the stack-total label, and every one of those reads the RAW column value. A count of 20 under a percent format therefore prints as 2000%. Both authoring doors reach the same baked format and both fire: the query's formats: and an authored style.axis_y.labels.format. A chart whose measure is already a 0..1 share, every group summing to about 1, is the honest case and never fires: there the raw value and the painted share are the same number. A non-percent format (currency, plain digits) never fires either: it prints the true raw number, and only its unit differs from the axis. A stack group summing to 0 is not judged at all, since a share is undefined at a zero total. stack: zero and stack: center are not judged either: an absolute stack labels its axis with that same authored format, so the chart is self-consistent. Small multiples are judged one panel at a time, since a normalized stack normalizes within a panel. The render is unchanged by this warning.

WARN-OUTLIERS-TORN-UNSUPPORTED: Bars past the axis cannot be torn off the chart on this chart

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: a bar is far enough past the rest to tear, but `style.outliers.variant: torn` cannot draw this chart shape, so the chart is drawn plain.

Fix: On a horizontal or stacked chart, set style.outliers.variant to torn_with_cap to cap the long bar. Otherwise set style.outliers.median_multiplier to none to stop tearing bars automatically; a bar past a pinned axis_y domain maximum still tears until the pin is raised.

Fires when a bar tears (it is at least style.outliers.median_multiplier times the median bar, or passes a pinned axis_y domain maximum) on a chart where variant is torn and the chart is horizontal, stacked, normalized, has a bar layer, small multiples, ranged (y_start) or has a mirrored value axis. Torn bars run off the top of a vertical card, so these shapes draw every bar at its true length instead; the chart is never switched to the cap variant for you.

WARN-PALETTE-UNSUPPORTED: Palette name is a known anti-pattern

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: palette {requested!r} is a known anti-pattern; consider {recommended} instead.

Fix: Author {recommended} instead; {requested} still draws as written.

Fires when a chart authors a palette name on the known anti-pattern list (e.g. 'RdYlGn', 'parula'); these are CVD-hostile or superseded by a dbt-charts-native palette. The palette still draws as authored; the warning recommends the dbt-charts-native palette.

WARN-PATTERN-FALLBACK-FLAT: Marks too small for their pattern draw a flat tint

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {count} mark(s) are too small to show their pattern and draw a flat tint instead.

Fix: Give the chart wider marks (more width, fewer bars or points) so each pattern repeats at least 1.25 times across the mark.

Fires when a patterned chart draws a mark with fewer than 1.25 pattern repeats across its short side. The mark draws a flat tint (with the pattern's outline) instead of its tile. Every series is still told apart here: the fallen-back series draw different tints or outlines, a series keeps its motif, or it is a single-series bar whose categories sit on the axis. Two series that fall back to the same tint and outline raise ERR-PATTERN-FALLBACK-FLAT instead.

WARN-PIE-DOMINANT-SEGMENT: Pie chart is dominated by a single segment

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Pie chart {chart_id!r}: {dominant_field!r} holds {dominant_share:.0%} of the total; the chart conveys a single value.

Fix: Use a KPI chart for the dominant share and a bar or table for the breakdown, rather than a pie dominated by one slice.

Fires on pie/donut charts where one slice is so large that the chart conveys a single value; the other slices are visually negligible. A near-single-value pie should be a KPI (the dominant share) plus a breakdown elsewhere.

WARN-PIE-SIZED-MODE-MISSES-GUARD: Pie is drawn in a box that its labels crowd

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Pie chart {chart_id!r} keeps its {mode} labels, but in this box the wheel is only {ratio:.0%} of the size it would have without them (the floor is {floor:.0%}).

Fix: Remove the authored height that pins this chart's box, or widen the card, so the pie is laid out in the box its labels were sized for.

A pie's mode (labels on the wheel, labels plus a table of the small slices, or a table of every slice) is decided once, in the box the size stage lays the card out in, and a labeled mode stands only while its wheel keeps the wheel-dominance floor of the bare wheel in the whole card. A pie drawn in a different box (an authored height pins it) keeps the sized mode, so its wheel can fall below the floor; this reports that without switching modes. A center total wider than the hole is reported separately by WARN-PIE-TOTAL-EXCEEDS-INNER-RADIUS.

WARN-PIE-TOTAL-EXCEEDS-INNER-RADIUS: Donut center total is too wide for the hole

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Donut chart {chart_id!r}: center total {formatted_value!r} is {text_width:.1f}px wide but the hole is only {hole_diameter:.1f}px across (slot {slot_width:.0f}×{slot_height:.0f}px).

Fix: Use a compacting number format (e.g. format: number) to shorten the total, or enlarge whichever slot dimension is smaller so the hole diameter increases.

Fires on donut charts whose formatted center total is wider than the hole it sits in, measured with the engine's font measurer. The hole diameter is min(slot_width, slot_height) * outer_fraction * inner_radius, where the slot is the plot box the wheel draws in, after the slice labels' reach and any legend.

WARN-PLOT-HEIGHT-BELOW-MINIMUM: Chart chrome squeezes the plot below its readability floor

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} squeezes its plot to an estimated {plot_height:.0f}px on a {card_height:.0f}px card, below the {floor_px:.0f}px floor it needs to stay readable.

Fix: Give the chart more height, drop authored chrome that is not earning its space here (subtitle, axis titles, a high-cardinality legend), or accept the smaller size deliberately and suppress this warning per-chart with warnings_ignore.

Fires when a bar chart's estimated plot height falls below its calibrated readability floor. The floor is constants.layout.PLOT_HEIGHT_FLOOR_RATIO of the card's own height, checked at every width: a short, wide card carrying heavy chrome starves its plot the same way a narrow one does. ERR-CHART-PAINTED-NO-MARKS already hard-fails around 247px, where marks paint with zero extent; this covers the band above it where the chart still renders but its plot has shrunk to a squashed sliver. No chrome is removed automatically to fix this: the author decides whether to widen the card, trim what they authored, or keep the chart small on purpose.

WARN-PLOT-WIDTH-BELOW-MINIMUM: A support_table column block claims most of the card's width

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: the support_table column block ({block_width:.0f}px) already claims most of the {card_width:.0f}px card, leaving the plot an estimated {plot_width:.0f}px.

Fix: Drop a support_table column, widen the card, or move the block to position: right — or accept it deliberately and suppress this warning per-chart with warnings_ignore.

Fires when a horizontal bar's support_table column block already claims more than constants.layout.SUPPORT_TABLE_COLUMN_BLOCK_SHARE_WARN_RATIO of the width it shares with the plot, measured from the column block's own font-measured reservation before any further axis-label or legend chrome is subtracted. The missing twin of WARN-PLOT-HEIGHT-BELOW-MINIMUM: no chrome is removed automatically — the author decides whether to widen the card, drop a column, or move the block. A plot that would fall below its readability floor once the remaining axis chrome is accounted for raises ERR-INPUT-INVALID instead of warning: a zero-width plot is a missing chart, not a squeezed one.

WARN-POINT-MAP-NEGATIVE-SIZE-VALUES: Point map size measure has negative values

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Point map {chart_id!r}: {dropped_count} of {total_count} points have a negative {size_field!r} value and were not drawn; mark area cannot be negative.

Fix: Size by a magnitude instead of a signed value (e.g. size: abs({size_field}) in the query) and encode direction with a diverging color: instead.

Fires when a bubble_map's size: measure contains negative values. Mark area cannot be negative, so rows with a negative size value are dropped before drawing rather than drawn at the smallest visible size; a negative value clamped to the scale's zero floor would read as "nearly zero", misrepresenting a large-magnitude negative measurement. Size by a magnitude (e.g. abs(...) in the query) and encode direction with a diverging color: instead. A zero-valued row is legitimate data with a legitimate area of nothing and is never dropped or counted here.

WARN-POINT-MAP-OUT-OF-PROJECTION: Point map has data outside the projection boundary

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Point map {chart_id!r}: {dropped_count} of {total_count} points are outside the {projection!r} projection boundary and were dropped.

Fix: Filter the data to the projection's region, or switch to a projection that covers the full data extent.

Fires when a point_map chart uses a bounded projection (e.g. albersUsa) and some data points fall outside its mapped region. The engine drops those rows before drawing; this warning reports how many points were dropped and why.

WARN-QUERY-RESULT-TRUNCATED: Chart query result truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

{subject}: query result exceeded the {reason} limit; truncated to {kept_row_count} rows.

Fix: Add a LIMIT to the query, narrow its filters, or raise execution.max_rows/max_result_bytes in dbt_charts.yml if the full result is genuinely needed.

Fires when a query's result exceeded the execution.max_rows or max_result_bytes safety ceiling and was truncated before it ever reached the result cache. The chart still renders with the truncated data; this is a safety net against an unbounded query exhausting memory or bloating the cache, not a hard error.

WARN-QUERY-RETURNED-ZERO-ROWS: Chart query returned zero rows

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: query returned zero rows.

Fix: Check the WHERE clause or date filter: it may be excluding all data for the current filter values.

Fires on any chart whose query returned zero rows. The viewer sees a quiet "No results" card (a KPI shows a dash), naming the board filters that reach the chart, so nothing looks broken; this warning tells the author. Most common cause: a WHERE clause or date filter that excludes all data.

WARN-RAIL-VALUE-DROPPED: Endpoint label shows its series name without the value

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {count} endpoint {labels_noun} from {authored_field!r} {were} drawn without the final value, because the value and the name fit neither one line nor two in the rail: {labels}.

Fix: Shorten the {authored_field} values, widen the chart, or set style.key.type: legend to keep the series names in the legend.

Fires when an endpoint label cannot show its series' final value. A label reads value name on one line; when that is too wide for the rail it wraps onto a second line, and when two lines do not fit either, or the rail has no vertical room for two-line labels, the value is dropped and the name is drawn alone (cut with an ellipsis if it is still too long). The labels in the message are the full series names.

WARN-REDUNDANT-ENCODING: Same column bound to two visual channels

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: field {field!r} is bound to channels {channels}: binding the same field twice adds no information.

Fix: Remove one of the channel bindings, or use different fields for each channel to encode distinct dimensions.

Fires when one query column is bound to two or more visual channels of the same chart (e.g. y and color both set to the same field), or when a multiples.rows/multiples.columns facet field is also bound to x or y. Binding the same field twice adds no information; the second channel is redundant, and for a facet collision, the axis repeats what the panel's own header already says. The bar x==color case is excluded: it renders full-width category-colored bars, a useful pattern. Faceting by a field also bound to color/size/shape is excluded too: those legends are drawn once, board-wide, never duplicated per panel, so pairing one with the facet gives every panel a consistent identifying color at no extra cost.

WARN-SCATTER-STACKED-IN-COLUMNS: Scatter points stack in columns

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

{channel} has {distinct} distinct values across {points} points, so the dots stack in columns. Treat {channel} as a category and use a strip plot or beeswarm to show each group's spread.

Fix: Chart the grouping channel as a category and spread each group's points with a strip plot or beeswarm; use a bar if only the group totals matter.

Fires on a scatter whose numeric x or y holds at most 5 distinct values with an average of at least 4 points per value. The dots pile into vertical or horizontal columns, which reads as a broken relationship rather than a distribution within groups. A few deliberate points over a few values stay quiet, as does any channel with more than 5 distinct values or a non-numeric one.

WARN-SERIES-LABEL-TRUNCATED: Series label was too long for the endpoint-label rail and was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {count} series {labels_noun} from {authored_field!r} {were} truncated in the endpoint-label rail, which is capped at a fraction of the chart's width: {labels}.

Fix: Shorten the {authored_field} values, widen the chart, or set style.key.type: legend to keep the series names in the legend.

Fires when a chart's series labels are drawn in the right-hand endpoint-label rail and do not fit. The rail may claim only a fraction of the chart's width, so longer names are cut with an ellipsis (…). The labels are the values of the column bound to color:; for a wide-form chart authored y: [a, b, …], the measure names themselves, prefixed by the color: column's value (<value> - <measure>) when one is authored; the warning names whichever key holds the long part. The label text in the message is the full value before truncation, so you can see exactly what was cut. Only the drawn label is shortened: the underlying values, the color scale, and tooltips still carry the full text.

WARN-SERIES-LABELS-REPEAT-WORD: Every series label repeats the same word

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: every {authored_key!r} series label repeats {repeated}: {labels}.

Fix: {once} Tighter labels: {shortened}. Alias the query column for a wide y: [...] chart (SELECT ... AS created), or shorten the color: column's own values for a long-form chart. Keep the repeat only when a label would be unclear without it.

Fires when every series label of a multi-series chart shares a leading or trailing word: 'Documents Created' / 'Documents Completed' makes the reader parse 'Documents' once per label to learn nothing, and widens the label rail. A word every series shares describes the chart, not a series, so it belongs in the title or y_label. The fix text adapts: when the title or y_label already says the word it advises dropping it, otherwise moving it there. color: values only fire when the title or y_label already says the word, since a shared word in a data value is often part of the name ('North America' / 'South America'). Words under three characters or without a letter (the year of a date-valued column) are ignored, and nothing fires when a tightened label would be under three characters ('Region A' -> 'A') or no longer distinct. Labels are the humanized measure names for a wide y: [a, b] chart, or the distinct color: column values for a long-form chart; a wide chart also authoring color: is skipped, since its labels are ' - ' composites. The detector only reports -- it never rewrites a label itself.

WARN-SPARK-LABEL-TRUNCATED: Spark-bar row label was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {truncation_count} spark-bar label(s) were truncated; the label column is too narrow to show the full text.

Fix: Widen the chart or increase the label column width in the chart style.

Fires when one or more spark-bar row labels are truncated because the label column is too narrow to fit the full text. One warning fires per chart with any truncated labels.

WARN-STATIC-PAGINATION-CAPPED: Static export stopped short of every table page

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r}: static export pre-rendered {rendered_pages} of {total_pages} pages ({page_rows} rows each, {total_rows} rows total); rows past page {rendered_pages} are not in this file.

Fix: Reduce the row count, raise style.pagination.page_rows so fewer pages are needed, give the table a taller slot, or view it on an interactive host (dct serve, Cloud) instead of a static export.

Fires when a static export (dct render --format html/svg/png) has a table with more pages than the renderer will pre-draw AND its slot is too short for the note that says so inside the file. A static export ships no JS runtime that can ask a server for another page, so every page's rows are pre-rendered into the artifact as toggle groups; left uncapped, that makes file size scale with total row count instead of page size. Past the cap the artifact shows only the first N pages. When the slot has room, the file states the cap itself and nothing fires; the text format states the page counts and never fires.

WARN-SUPPORT-TABLE-CELL-OVERFLOW: Support table cells do not fit

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: support_table cells do not fit ({detail}), so adjacent values run together or the strip is hidden.

Fix: Widen the chart, show fewer categories, or shorten the values with a more compact format.

Fires when neighboring cells of a support_table row paint closer than the row's horizontal padding. A date x first swaps a crowded format for its compact form, then skips buckets (preferring the ones the axis labels) and warns only if the cells still run together. A categorical x hides the strip whole when its cells do not fit, and warns; so does a rail chart whose strip reaches farther left of the plot than the gutter it reserved.

WARN-TABLE-ALIGN-NO-VISIBLE-EFFECT: Authored align: left on a numeric column has no visible effect

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r} column {column!r}: align: left has no visible effect. The digits already start at the cell's left padding, so left and decimal alignment paint identically.

Fix: Drop align: left; it isn't doing anything here. Widening the column (an explicit width:) would let the decimal lane center and make the key visible.

Fires when a numeric table column is left aligned, its rendered values are all the same width, and the decimal lane already starts at the cell's left padding. Left and decimal alignment then paint the digits at the identical x position and the authored key changes nothing a reader can see. Where the values differ in width, WARN-TABLE-NUMERIC-ALIGN-LEFT covers it instead.

WARN-TABLE-COLUMNS-OVERFLOW: Table is wider than its dashboard slot

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r} overflows its slot: needed {needed_width:.0f}px but only {available_width:.0f}px available.

Fix: Widen the table's dashboard slot, reduce the number of columns, or add explicit column widths to control how the table distributes its available space.

Fires when a table needs more width than the slot it was given. A table sizes each column to its minimum readable width; when those widths sum past the available width, the renderer clips the table at its slot's edge, so the columns past it are not shown.

WARN-TABLE-CONTENT-TALLER-THAN-WIDE: Table text wrapped into a block taller than its column is wide

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r}: text in the {column!r} column wraps into blocks taller than the column is wide, which usually means it wrapped too much. The worst cell takes {max_lines} lines and {cell_count} cell(s) are that tall, in {column_width:.0f}px allocated to the column.

Fix: Give the column more space with style.columns.{column}.width, shorten the text, or drop columns from the table.

Fires once per text column when a wrapped body cell's block of lines is taller than the column's content area is wide and wraps onto at least the engine's minimum line count, so three short words in a thin column stay quiet. Text cells wrap without a line cap and the row grows to fit, so a squeezed column turns into a tower that pushes every other cell in its row down with it. Numbers and dates never wrap and are not measured. The warning names the column and counts cells; it never prints their values.

WARN-TABLE-HEADER-EXTRA-WRAP: Table column header needs more than two lines

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r}: the {column!r} column header {header!r} needs {lines} lines. Two lines are fine; more is too much. Only {column_width:.0f}px were allocated for this column, in a table of {column_count} columns and {table_width:.0f}px total width.

Fix: Shorten the header, or give the column more space: set style.columns.{column}.width, drop columns, or widen the table.

Fires once per column whose header, wrapped with no line cap in the column's content area, needs more than two lines. Two lines are the theme default and never warn, so a header that fits in two does not fire however many columns share the table. A wrap-two header is cut at two lines with an ellipsis and a wrap header draws every line; both fire. The width is the column's own: a header that needs three lines in a 90px column is a column problem, not a table-width problem.

WARN-TABLE-NUMERIC-ALIGN-LEFT: Left-aligned numeric column will not decimal-align

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r} column {column!r} is align: left on numbers of different width; the digits will not line up down the column.

Fix: Drop align: left to keep this column's digits decimal-aligned, the default for numeric columns.

Fires when a numeric table column is left aligned and its rendered values are not all the same width. A decimal-aligned column right-anchors every value at a shared position so the digits stack; left-anchoring starts each value at the cell's left padding, so values of differing width no longer line up and the column cannot be read down. A column whose values are all one width, such as a year or an ID, stays silent because left-anchoring still lines its digits up.

WARN-TABLE-PAGE-SQUEEZED: Layout slot forced a smaller table page than the table asked for

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r}: the layout slot fits {drawn_rows} of the {page_rows} rows a page holds ({total_rows} rows total); the rest sit on later pages or scroll out of view.

Fix: Give the tile more height (layout height:, a taller row, or fewer siblings sharing the row), or set page_rows: {drawn_rows} under style.pagination of charts.{chart_id} to page at what the slot fits. page_rows is a ceiling: raising it does not make the slot taller.

Fires when a pinned layout slot (explicit height, grid row, equalized siblings) fits fewer rows than the table's page_rows, so the paginator (or, in scroll mode, the viewport) draws fewer rows per page and the export photographs as a faithful table showing a fraction of its rows. An auto-sized tile is measured by the renderer and always fits its page; page_rows: null never warns. Paginating because the data is longer than the page is not this warning.

WARN-TABLE-SCROLL-ROWS-CAPPED: Table has too many rows to scroll, so it pages

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Table {chart_id!r}: {total_rows} rows is more than the {max_rows} a scrolling table draws, so it pages instead.

Fix: Aggregate or limit the query to at most {max_rows} rows, or set style.pagination.mode: pages.

Fires when a table has more rows than a scrolling body draws, and scrolling is the default. The table falls back to the pager, which reaches every row, instead of dropping the rows past the cap.

WARN-TABLE-TEXT-TRUNCATED: Table cell text was truncated

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: truncated text in column(s) {authored_field}: {truncation_count} value(s) were cut with an ellipsis.

Fix: Widen the column, shorten the values, or increase the chart width.

Fires when one or more table cell values are clipped with an ellipsis because they exceed the column width. One warning fires per table; each truncated column is a related location. Headers are not counted: a header that needs more than two lines is WARN-TABLE-HEADER-EXTRA-WRAP.

WARN-TEMPORAL-SINGLE-POINT: Temporal line or area chart has only one data point

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} ({chart_type}): temporal x-axis has exactly one data point; a one-point line/area conveys no trend.

Fix: Widen the date filter to include more time periods, or switch to a KPI or stat tile if a single-point value is intentional.

Fires on line and area charts where the x-axis is temporal and the query result has exactly one row. A one-point line is rendered as a single dot; a one-point area is a vertical line. Both render but convey nothing about a trend; this almost always means the date filter is too narrow.

WARN-TITLE-UNIT-MISMATCH: A title or subtitle that names a unit the compacted value axis does not carry

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: the value axis is in {axis_unit!r}, but the title or subtitle states {stated!r}.

Fix: Change the unit in the title or subtitle to the axis unit (Pipeline by quarter, $K), or drop it.

Fires when a chart's value axis is compacted (K, M, B, T) and the title or subtitle names a different unit ($M over a $K axis). A unit is compact ($K, €B, K, %) or spelled out ($ thousands, millions of dollars). A title or subtitle that names no unit never fires it, nor does a chart with no title, or an axis of plain numbers or a symbol alone ($166,300, 40%). A scatter fires it once per unit when its two axes differ. The renderer never edits the title or subtitle.

WARN-TOO-MANY-COLOR-CATEGORIES: Color encoding has more categories than a reader can tell apart

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: color encoding on {field!r} yields {count} distinct series, more than the {max_categories} a reader can tell apart.

Fix: Cut the categories in the query, not the chart: keep the top N and fold the rest into Other, e.g. CASE WHEN rank <= 6 THEN category ELSE 'Other' END AS category over a RANK() OVER (ORDER BY total DESC) CTE, then re-aggregate by that column.

Fires when a categorical color encoding has more distinct values than the larger of the chart's palette length and eight; past that a reader cannot match legend entries to marks, and a short palette recycles colors. A handful of series on a short palette stays quiet. The message states the series count and the threshold. Only a categorical color encoding is counted, so a continuous (quantitative) color gradient never trips it. A wide chart (y: [a, b]) is counted by the series its fold renders -- the measures, crossed with the color: dimension's values when one is authored.

WARN-TOO-MANY-X-CATEGORIES: x-axis has too many distinct values to read

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: x field {field!r} has {count} distinct values; labels collide and marks are too thin to read (limit: {max_categories}).

Fix: Filter to the top N categories by value, roll up to a coarser grouping, or switch to a scrollable table for wide categorical data.

Fires when a categorical (nominal/ordinal) x-axis has more distinct values than fit legibly; labels collide and the marks are too thin to read. For a bar chart, also fires on a temporal x-axis: bars still draw one band per distinct x value even where the density gate has moved bucketed temporal data off the ordinal scale. On that axis the warning is about band width only: a temporal axis thins its own tick labels, so nothing is claimed about label collision, and the fix is to widen the chart, roll up to a coarser time grain, or switch to a line chart. Never fires on a quantitative axis, or on a temporal axis for line/area/scatter charts, where a dense axis is a continuous draw, not a crowded band.

WARN-TREND-ON-BARS: Trend fitted over bars

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: annotation {index} fits a trend to bars. A bar encodes length from zero, so a fitted line over it is a weak read of the pattern.

Fix: Draw the column as a line chart (or a line layer) to fit a trend. To keep the bars, thin them with style.marks.bar.band_width (e.g. 0.5) so more of the trend shows between them. If the trend over bars is deliberate, add WARN-TREND-ON-BARS to the chart's warnings_ignore.

Fired once per type: trend annotation that reads a bar mark: an unstacked bar, or the series: total of a stacked bar. The trend still draws. A trend over an area is an error instead, and a trend over a line or scatter mark is the intended use.

WARN-UNREFERENCED-CHART: Chart is defined but not placed in any layout

  • Level: warning
  • Domain: compile
  • Suppressible: yes

Message template:

Chart {chart_id!r} is defined but not referenced in any layout (rows/cols/grid/tabs). It will not appear in the rendered dashboard.

Fix: Add the chart to a layout block, or delete it if it is no longer needed.

Fires at compile time for charts that are defined somewhere in the board tree but never placed in any layout (rows/cols/grid/tabs). The board still compiles because content-only boards are valid; this warning surfaces lazy authoring: an author defined a chart and forgot to display it. Emitted by compile/validate/board_warnings.py.

WARN-VALUE-LABELS-CROWD-WIDTH: Value labels overflow their marks or collide

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: a value label is {label_width:.0f}px wide but has only {slot_width:.0f}px of room; labels spill past their marks or overlap their neighbors.

Fix: Shorten the number format (e.g. SI suffix .2~s), label fewer marks, widen the chart, or turn the labels off and show the exact values in a support_table.

Fires when painted value labels collide or overflow their marks: authored positions never move, and bar labels stay at their bars. The check measures the placed label boxes, on any x axis: it fires when two labels' boxes overlap, or when a label drawn inside its bar is wider than the bar. It judges the chart's own labels and each layer's labels separately; labels that sit at different heights and never touch are quiet however close their marks are.

WARN-VALUE-LABELS-NO-MARKERS: Value labels on a line or area with no point markers

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: value labels are shown on a line or area with no point markers, and some sit off their points or belong to several series, so a label cannot be traced to its point.

Fix: Show the points with style.marks.point.size, or label fewer points.

Fired when a line or unstacked area has auto value labels but draws no point markers, and either a label moved off its default spot to clear the chart or more than one series is labeled. Without a dot, a label away from its vertex has nothing tying it to its point.

WARN-VALUE-LABELS-THINNED: Value labels were thinned to keep the rest readable

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: {dropped} of {total} value labels had no clear spot and were not drawn; hovering a point still shows its value.

Fix: Label fewer points (labels.visible: last), widen or heighten the chart, shorten the number format, or show the values in a support_table.

Fired when a chart's auto value labels cannot all find a spot that keeps clear of the marks, gridlines, axis labels and each other, so more than a quarter of them are left undrawn. An authored position pins a label, which is never moved or dropped. The warning replaces the crowded-labels warning on the same chart.

WARN-WIDE-MEASURE-LABEL-COLLISION: Two wide y: measures humanize to the same legend label

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r} authors y: measures {measures}, which all show the label {label!r}. Each is now shown under its own column name instead.

Fix: Author distinct y: column names, or rename one of them in the query so they no longer produce the same label.

Fires when two or more measures in a wide chart's y: list produce the same legend and axis label. For example, churn_pct and churn_percent both read churn (%). Each colliding measure is shown under its own column name instead, keeping them as separate series. Other measures in the list are unaffected.

WARN-Y-ENCODING-MOSTLY-NULL: Y-encoding field is mostly NULL in the query result

  • Level: warning
  • Domain: render
  • Suppressible: yes

Message template:

Chart {chart_id!r}: y field {field!r} is {null_pct:.0%} NULL across {row_count} rows.

Fix: Check for a broken join or a nullable source column. A COALESCE or WHERE clause may be needed to filter the empty rows.

Fires on any chart where the y-encoding field is more than 50% NULL in the query result rows. Mostly-empty visual marks with no explanation usually indicate a broken join or a nullable source column. NULL-only differs from NULL+zero: zero is a valid measurement.