Skip to content

docs: show/hide first/last N rows and column limit in chart config#587

Merged
charliedowler merged 4 commits intomainfrom
n-rows-column-limit
Apr 30, 2026
Merged

docs: show/hide first/last N rows and column limit in chart config#587
charliedowler merged 4 commits intomainfrom
n-rows-column-limit

Conversation

@charliedowler
Copy link
Copy Markdown
Contributor

Summary

  • New Data section in guides/configure-charts.mdx describing the in-chart row-limit Switch (Show/Hide × First/Last × N) and the per-chart column limit for pivoted cartesian charts.
  • New Limiting displayed rows section in references/chart-types/table.mdx covering the same row-limit control for tables, with a note that it's only available on non-pivoted tables.
  • Updated the table chart's options bullet list to include the new feature with an in-page anchor link.

Context

Both controls are gated by feature flags (show-hide-rows, show-hide-columns). The companion lightdash PR (lightdash/lightdash#22582) flips both flags to default-enabled in the DB so this documentation reflects the out-of-the-box experience.

The existing pivot column-limits section in table.mdx is intentionally untouched — it documents a different, system-wide cap (LIGHTDASH_PIVOT_TABLE_MAX_COLUMN_LIMIT) that errors when exceeded, whereas the new per-chart column limit silently keeps the first N pivot groups in cartesian charts only.

Test plan

  • Run mintlify dev locally and verify:
    • /guides/configure-charts renders the new Data section with both subsections and the example tables
    • /references/chart-types/table renders the new Limiting displayed rows section
    • The anchor link in the table options list (#limiting-displayed-rows) navigates correctly
    • The cross-link from configure-charts to #column-limits resolves
  • Visual screenshots will be added to images/guides/configure-charts/chart-config-row-limit.png, images/guides/configure-charts/chart-config-column-limit.png, and images/references/chart-types/table/row-limit.png before merge

🤖 Generated with Claude Code

…config

Adds a new "Data" section to guides/configure-charts.mdx covering both
the row-limit Switch (Show/Hide × First/Last × N) and the per-chart
column limit for pivoted cartesian charts. Adds a parallel "Limiting
displayed rows" section to references/chart-types/table.mdx for the
table chart, including the non-pivoted-tables-only constraint.

The existing pivot column-limits section in table.mdx is left as-is
since it documents a different concept (system-wide pivot cap from
LIGHTDASH_PIVOT_TABLE_MAX_COLUMN_LIMIT) — the new per-chart column
limit is for cartesian charts only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 30, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Apr 30, 2026, 9:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Adds the screenshot of the "Limit displayed rows" Switch with its
Show/Hide × First/Last × N controls in the cartesian chart config.
Removes the two image references for the column-limit and table
row-limit controls — those screenshots are not yet captured, so the
text-only sections render cleanly without broken image icons.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Captures the Column limit input set to 2 alongside the bar chart
showing only 2 of 3 pivot series after the limit takes effect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@charliedowler charliedowler merged commit 49d0b48 into main Apr 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant