Skip to content

docs: add multi-layer ES|QL charts section (#8681) - #9155

Draft
florent-leborgne wants to merge 9 commits into
elastic:mainfrom
florent-leborgne:docs-issue-8681-esql-layers
Draft

florent-leborgne wants to merge 9 commits into
elastic:mainfrom
florent-leborgne:docs-issue-8681-esql-layers

Conversation

@florent-leborgne

@florent-leborgne florent-leborgne commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Summary

This PR addresses #8681 with the following changes:

  • explore-analyze/visualize/esorql.md: Adds a section on plotting several independent {{esql}} queries as layers on one XY chart, and on adding annotation and reference-line layers.
  • explore-analyze/visualize/charts/bar-charts.md, line-charts.md, and area-charts.md: Adds a one-line pointer to that section from each chart's {{esql}} instructions, because layers are available on these chart types only.

Closes #8681

Differences from the issue

  • The issue also asks to cover converting a form-based chart to {{esql}} as a full chart. This PR leaves that out because the Convert to ES|QL button sits behind the lens.enable_esql_conversion feature flag, which defaults to off.
  • The issue suggests the "Customize the appearance of your {{esql}} visualization" section. This PR adds a sibling section after "Break down a chart by multiple fields", because the suggested section covers axis styling.

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

Tool(s) and model(s) used: Claude Code with Claude Sonnet 5.5. It drafted the section from the linked Kibana PR and source, and every label was checked against the Kibana code.


🤖 Generated with Claude Code

florent-leborgne and others added 2 commits November 2, 2026 22:39
AI-Assisted: Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…lastic#8681)

AI-Assisted: Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

⏳ Building and deploying preview... View progress

This comment will be updated with preview links when the build is complete.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

…lastic#8681)

AI-Assisted: Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
AI-Assisted: Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
florent-leborgne and others added 4 commits November 9, 2026 18:29
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active (outdated) deployment
docs-preview — f8a2974e Deployed Nov 9, 2026 by github-actions[bot]
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.

Add independent ES|QL layers to Lens XY charts

1 participant