{"slug": "release-0-12-0-tables-that-scroll", "title": "Release 0.12.0: Tables that scroll", "summary": "Dbt Labs released dbt Charts 0.12.0, which makes wide tables scroll horizontally with pinned leading columns via style.column_layout.freeze and adds a unified style.key setting for legends and direct labels. The release also adds style.conditional value-based mark styling across bar, line, area, scatter, pie, heatmap, map and point-map charts, a new funnel chart type, and warehouse-sourced column types; dbt Labs says boards now compile nearly twice as fast and render about twice as fast in dct render, dct serve and the MCP tools.", "body_md": "dbt Charts 0.12.0 is about the details that decide whether a board gets\nread. Tables now hold wide and long results without squeezing them, charts\ncan restyle marks by their values, and legends and direct labels share one\n`style.key` setting. Funnels show the stages of a process, while automatic\noutlier bars keep one huge value from squeezing everything else.\n\nThis release also makes results more trustworthy. Column types come from the\nwarehouse, queries run in the board’s time zone, and line charts stop drawing\nacross gaps in the data. Boards compile nearly twice as fast and render about\ntwice as fast in `dct render`, `dct serve` and the MCP tools. Here’s what’s new.\n\n## Tables that scroll\n\nA table wider than its card now scrolls sideways instead of squeezing every\ncolumn, and `style.column_layout.freeze` pins its leading columns so row labels stay\nin view. Long tables scroll their rows under a pinned header, with a pager below\nthat follows the scroll. Thanks to [Tracy Chow](https://github.com/fivetran-tracychow)\nfor requesting [horizontal scroll](https://github.com/dbt-labs/dbt-charts/issues/83)\nand [frozen columns](https://github.com/dbt-labs/dbt-charts/issues/84).\n\n*Sample account data, shown in an HTML export from dbt Charts 0.12.0.*\n\nReading a table is easier, too:\n\n- Hover a cell cut short with an ellipsis to read its full value, and click to\nkeep it open for copying ([request #93](https://github.com/dbt-labs/dbt-charts/issues/93) ).\n- Columns marked `list: true` show each value on its own line, and live boards\nopen a row in place from its chevron.\n- Readers can sort and filter pivot tables from the column header menu\n([request #101](https://github.com/dbt-labs/dbt-charts/issues/101) ).\n- Query columns whose names start with an underscore stay out of the table, so a query can carry helper columns for sorting or styling.\n- A result cut by the row or size limit says so in the pager.\n- HTML exports sort, filter and page their tables in the browser, like a live board.\n\nThanks also to Tracy for requesting [full cell values](https://github.com/dbt-labs/dbt-charts/issues/93)\nand [pivot-table sorting](https://github.com/dbt-labs/dbt-charts/issues/101).\nSee [tables and text](https://docs.dbtcharts.com/charts/tables/) for scrolling,\nfrozen columns and table styling.\n\n## Legends and direct labels\n\n`style.key` is now the one place to choose how a chart identifies its series.\nSet `key.type: legend` for a legend, `key.type: direct` for labels beside the\nseries, or `key.visible: false` to hide the key. Existing `legend` and\n`endpoint_labels` settings migrate automatically when a board loads.\n\n## Conditional styling\n\n`style.conditional` restyles a mark by the value in its own row, with no color\nchannel to set up. It works on bar, line, area, scatter, pie, heatmap, map and\npoint-map charts. On a line or area, a run of matching points restyles that\nstretch of the stroke or fill.\n\n## See the YAMLa example\n\n```\nqueries:\n  margin:\n    columns: [region, margin]\n    values:\n      - [North, 0.18]\n      - [South, 0.07]\n      - [East, -0.04]\n      - [West, 0.12]\n      - [Central, -0.09]\n    formats:\n      margin: percent\ncharts:\n  margin:\n    type: bar\n    title: Operating margin by region\n    query: margin\n    x: region\n    y: margin\n    style:\n      orientation: vertical\n      conditional:\n        margin:\n          - lt: 0\n            marks:\n              bar:\n                color: \"#c62828\"\nrows:\n  - margin\n```\n\nTables get the same idea with `style.row.conditional`: any column’s value can\nrestyle its whole row or another cell in it, and a column’s own rules move to\nits `conditional:` entry under `style.columns`. KPI cards move their conditional\nformatting to `style.conditional` as well. Existing boards migrate on load.\nSee [conditional styling](https://docs.dbtcharts.com/charts/bar-charts/#conditional-styling)\nfor the rules each chart type accepts.\n\n## Funnel charts\n\n`type: funnel` draws the stages of a process as centered bars, first to last,\nwith ribbons joining each stage to the next. Each bar shows what remains at that\nstage, and each ribbon shows the share lost since the stage before. Label\ntemplates can switch either one to a share of the first stage.\n\n## See the YAMLa example\n\n```\nqueries:\n  stages:\n    columns: [stage_order, stage, accounts]\n    values:\n      - [1, Visited pricing, 4200]\n      - [2, Started trial, 3100]\n      - [3, Built a board, 1900]\n      - [4, Shared a board, 1240]\n      - [5, Upgraded, 740]\ncharts:\n  trial:\n    type: funnel\n    title: Trial accounts by stage\n    query: stages\n    x: stage\n    y: accounts\n    sort:\n      by: stage_order\nrows:\n  - trial\n```\n\nSee [funnels](https://docs.dbtcharts.com/charts/bar-charts/#funnels) for label\ntemplates and theme styling.\n\n## Off-the-chart bars\n\nOne huge bar can make every other value look the same. `style.outliers` now\ndetects a vertical bar at least 12 times the median bar and lets it run off\nthe card, keeping the smaller bars readable. Set `style.outliers.median_multiplier`\nto change the threshold, or set it to `none` to turn off automatic detection.\n\nIt also works with a fixed axis. The fuel chart below uses a 0 to 60 scale in megajoules per kilogram. Hydrogen goes past that maximum and runs up through the header to the chart’s top edge, ending in a ragged paper tear with its value set upright inside the bar. Hover over hydrogen to see the bar at its true length, straight if it fits and wound into a spiral if it doesn’t.\n\n## See the YAMLa example\n\n```\nqueries:\n  fuel:\n    type: values\n    columns: [item, megajoules]\n    values:\n      - [Wood, 18]\n      - [Coal, 24]\n      - [Ethanol, 30]\n      - [Diesel, 46]\n      - [Gasoline, 46]\n      - [Methane, 56]\n      - [Hydrogen, 142]\ncharts:\n  fuel:\n    title: Energy per kilogram\n    subtitle: Hover over hydrogen to see how far it really goes.\n    query: fuel\n    height: 460\n    type: bar\n    x: item\n    y: megajoules\n    style:\n      orientation: vertical\n      axis_y:\n        scale:\n          continuous:\n            domain: [0, 60]\nrows:\n  - fuel\n```\n\nWith `style.outliers.variant: torn_with_cap`, a long bar is cut at a break\ninstead and its labeled cap floats above the plot, so the smaller bars keep a\nreadable scale. Line charts whose y-axis leaves out zero can say so with\n`style.axis_y.grid.torn_baseline`, which tears the chart’s bottom edge like\npaper.\n\n## Filter controls\n\n- **Multiselect pills:** selected values appear as pills you can remove one at a time.\n- **Button rows:**`input: radio` draws every option as a row of buttons, and`style.variables.presets_display: buttons` does the same for date-range presets.\n- **Slider preview:** hovering or dragging a slider shows the value it would pick.\n- **Sort by clicking:** a filter’s sort button cycles the order with each click\nand shows the order in force, instead of opening a menu\n([requested by Tracy Chow](https://github.com/dbt-labs/dbt-charts/issues/99) ).\n\n## Results you can trust\n\n- **Warehouse types:** charts take date, time and number column types from the\nwarehouse’s declared result schema instead of guessing them from the values.\n- **Time zones in SQL:** warehouse queries run in the board’s`regional.time_zone` ,\nso SQL date truncation matches the times the board prints.\n- **Gaps in lines:** line charts break across a large gap in the data instead of\ndrawing a straight line through it.\n- **Column case:**`y: revenue` reads a`Revenue` column, and two columns that\ndiffer only in case raise an error instead of guessing. Warehouse sources keep\na quoted alias’s spelling, such as`Q3-25` .\n- **Unit checks:** a chart warns when its title names a unit that contradicts its\ncompacted K, M, B or T value axis.\n- **Empty results:** a chart with no rows shows a quiet “No results” card, and a\nKPI with no value shows a dash.\n\n## Faster boards\n\nCompiling a board is nearly twice as fast, and boards render about twice as\nfast in `dct render`, `dct serve` and the MCP tools. Thanks to\n[Francisco Calderón](https://github.com/frcalder) for\n[reporting the warm-load slowdown](https://github.com/dbt-labs/dbt-charts/issues/88).\nLarge tables render faster and no\nlonger make a board lag on hover, and boards with several KPI cards render\nfaster. `dct serve` shows a board’s navigation and a loading state at once while\nslow queries run.\n\n## Others\n\n- **Board sidebar:**`dct serve` shows a collapsible sidebar of the boards in a\nfolder and keeps your filters when you switch between them. Thanks to[Greg](https://github.com/gskoff) for[requesting the sidebar](https://github.com/dbt-labs/dbt-charts/issues/97) .\n- **Positional channels:** a chart can leave out`x` ,`y` and its other channels.\nThe query’s columns bind by position, dimensions first and the measure last.\n- **Axis labels above gridlines:**`axis_y.labels.position: above_gridline` sets\nvalue labels just above their lines; the paper theme uses it.\n- **Overlay legend warning:** line and area charts warn when an overlay legend\ncovers a line or point.\n- **Layers on multi-measure charts:** charts with`y: [...]` accept`layers:` .\n- **Layer labels and tooltips:** line, area and scatter layers can label just\ntheir first, last, lowest or highest points. A layered chart also accepts`tooltip:` columns on its base marks.\n- **Bubble sizes:**`style.size` sets the mark-area range and scale type on\nscatter and bubble map charts. Thanks to[Tracy Chow](https://github.com/fivetran-tracychow) for[requesting it](https://github.com/dbt-labs/dbt-charts/issues/98) .\n- **Spark bars:**`spark.value` adds a cell’s value beside its bar, and`spark.background` adds a background track.\n- **Links and band labels:** chart links can use any column in the clicked row,\nand`style.marks.text.max_width` controls how a band’s label wraps.\n- **Comment highlights:** themes set comment highlight tints with`style.comments.highlight` and`style.comments.highlight_new` .\n- **Markdown pages:** the Markdown extension takes a`variables` option, no longer\nprints a page’s frontmatter, and its charts show tooltips and hover emphasis.`dct runtime-js` writes the hover script for other static sites. Markdown boards\ndefault to a wider 90-character line.\n- **Query caches:** a query that reads`{{ queries.X.cache }}` can set`dialect:` and be written in your warehouse’s SQL.`dct query --cache PATH` shares a cache\nfile across runs, so upstream queries execute once.\n- **Date filters on UTC columns:**`filter_date_range` takes`is_naive_utc=true` for a naive column that stores UTC, replacing the`timestamp=` option.\n- **Platform from the terminal:**`dct cloud comments` lists, adds, replies to,\nedits, resolves and reopens board comment threads. Use`--review` for a\nreview’s threads and`--mention` to notify people and teams.`dct cloud project settings` and`dct cloud project set` read and change project settings, and`dct cloud project connect github` connects a repository without a browser step\nwhen`gh` is signed in.\n- **Import and migration:** the migration skill finds a tile’s query in the\nwarehouse’s query history, screenshots a dashboard page the import could not\nrender, and walks you through putting API keys in a`.env` file. The[Omni importer](https://docs.dbtcharts.com/import/omni/) keeps going past tiles\nit cannot plan, and[Sigma imports](https://docs.dbtcharts.com/import/sigma/) carry grouping and tooltip columns.\n- **Diagnostics:**`dct doctor` warns when`profiles.yml` is newer than the dbt\nmanifest, and a missing-relation error on a`ref()` or`source()` query suggests\nrunning`dbt parse` . Warehouse permission and credential failures say to fix\naccess rather than the SQL.\n\nA few community-reported fixes are worth calling out, too:\n\n- **Wide unpinned tables:** columns keep readable widths and cell text no longer\npaints over the next column. Thanks to[georgea-tk](https://github.com/georgea-tk) for[the report](https://github.com/dbt-labs/dbt-charts/issues/78) .\n- **YAML features:** the docs and the chart skill say which YAML features board\nfiles accept, and which unquoted values YAML reads as booleans or numbers.\nThanks to[Josh Andrews](https://github.com/jrandrews) for[asking](https://github.com/dbt-labs/dbt-charts/issues/90) .\n- **Text rules and spark bars:** a`---` rule spans the whole card, and a spark bar\nwith a value of 0 draws an empty cell. Thanks to[Tracy Chow](https://github.com/fivetran-tracychow) for reports[#91](https://github.com/dbt-labs/dbt-charts/issues/91) and[#95](https://github.com/dbt-labs/dbt-charts/issues/95) .\n\nThe [full release notes](https://github.com/dbt-labs/dbt-charts/releases/tag/dbt-charts-v0.12.0)\ninclude the remaining fixes and technical changes.\n\n## Upgrade\n\n```\nuv tool upgrade dbt-charts\n```\n\nOlder YAML syntax migrates automatically when a board loads, and `dct migrate`\nsaves those updates to your files. The main changes that need a manual edit are:\n\n- **KPI conditional formatting** moves to`style.conditional` and its background\nto`style.background` . A`default` rule now applies only when no other rule in\nits column matched. A rule that set a glyph or a headline`tone` no longer\nmigrates; remove it and let`good:` pick the glyph.\n- **Nonlinear scales:** a`pow` ,`sqrt` or`symlog` axis on a line, area, bar or\nhistogram chart is now an error instead of quietly drawing linear. Use a\nscatter, or remove the scale type.\n- **Date filter option:**`filter_date_range(..., timestamp=...)` now raises an\nerror. It lives in SQL, so no migration rewrites it: use`is_naive_utc=true` for a naive column that stores UTC, and otherwise drop the argument.\n\nThe moves to `style.key`, table column `conditional:` rules, and constant colors\nsuch as `style.marks.bar.color` migrate automatically. If you maintain custom\ntemplates that read `charts.series_label.font` or `endpoint_labels.label_offset`,\nupdate them to read `key.direct`. Previously emitted board artifacts must be\nregenerated with `dct artifact emit`.\n\nA few defaults changed, each with a setting to keep the old behavior: tables\nscroll sideways (`style.column_layout.overflow: fit`), table rows scroll under a pager\n(`style.pagination.mode: pages`), underscore columns are hidden\n(`style.hide_underscore_columns: false`), line charts break at gaps\n(`style.marks.line.connect: true`), and boards no longer draw a rule above the\nfooter (`style.footer.divider.visible: true`).\n\nThe removed `options.label_column` setting is no longer used. For query-backed\ndropdowns, `options.column` selects the value column and `options.count_column`\nexplicitly enables counts.\n\nTry [0.12.0](https://github.com/dbt-labs/dbt-charts/releases/tag/dbt-charts-v0.12.0),\nbring a board to office hours, start a thread in the\n[dbt Community Slack](https://getdbt.slack.com), or\n[open an issue](https://github.com/dbt-labs/dbt-charts/issues).\n\nWe look forward to seeing what you make with it.", "url": "https://wpnews.pro/news/release-0-12-0-tables-that-scroll", "canonical_source": "https://dbtcharts.com/blog/dbt-charts-0-12-0/", "published_at": "2026-11-20 00:00:00+00:00", "updated_at": "2026-11-21 02:42:21.440697+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "structured-data"], "entities": ["dbt Labs", "dbt Charts", "dbt Charts 0.12.0", "Tracy Chow", "dct render", "dct serve"], "also_reported_by": [], "takeaway": "dbt Charts 0.12.0 replaces separate legend and endpoint_labels settings with a single style.key option (key.type: legend, direct or key.visible: false), and existing boards migrate automatically on load.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/release-0-12-0-tables-that-scroll", "markdown": "https://wpnews.pro/news/release-0-12-0-tables-that-scroll.md", "text": "https://wpnews.pro/news/release-0-12-0-tables-that-scroll.txt", "jsonld": "https://wpnews.pro/news/release-0-12-0-tables-that-scroll.jsonld"}}