Skip to content

[Lens as code] Support correct X-Axis types in ES|QL visualizations#258159

Merged
drewdaemon merged 9 commits intoelastic:mainfrom
drewdaemon:253009/timestamp-fields-time-series-esql
Mar 18, 2026
Merged

[Lens as code] Support correct X-Axis types in ES|QL visualizations#258159
drewdaemon merged 9 commits intoelastic:mainfrom
drewdaemon:253009/timestamp-fields-time-series-esql

Conversation

@drewdaemon
Copy link
Copy Markdown
Contributor

@drewdaemon drewdaemon commented Mar 17, 2026

Summary

Fix #253009

Adds an axis type configuration option to the x-axis for ES|QL charts.

@drewdaemon drewdaemon changed the title 253009/timestamp fields time series esql [Lens as code] Support correct X-Axis types in ES|QL visualizations Mar 17, 2026
@drewdaemon drewdaemon marked this pull request as ready for review March 17, 2026 18:37
@drewdaemon drewdaemon requested a review from a team as a code owner March 17, 2026 18:37
@drewdaemon drewdaemon added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Mar 17, 2026
Copy link
Copy Markdown
Contributor

@markov00 markov00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM for ESQL charts, tested locally with:

  • an existing ESQL timeseries created with the flag off
  • creating a new ESQL chart from UI
  • creating a dashboard from the API with 3 different temporal/linear/ordinal charts

The change request is for DSL charts that returns always ordinal scale

@drewdaemon drewdaemon requested a review from markov00 March 18, 2026 16:29
@drewdaemon
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@drewdaemon drewdaemon enabled auto-merge (squash) March 18, 2026 17:48
@drewdaemon drewdaemon merged commit 55b9b8d into elastic:main Mar 18, 2026
18 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
agentBuilder 616.0KB 616.5KB +559.0B
cases 2.0MB 2.0MB +559.0B
dashboard 840.7KB 841.3KB +559.0B
dashboardAgent 173.0KB 173.5KB +559.0B
discover 1.6MB 1.6MB +559.0B
infra 1.3MB 1.3MB +559.0B
lens 2.0MB 2.0MB +786.0B
observability 2.0MB 2.0MB +559.0B
observabilityAIAssistantApp 304.8KB 305.3KB +559.0B
unifiedDocViewer 411.8KB 412.3KB +559.0B
total +5.7KB

History

mbondyra added a commit to mbondyra/kibana that referenced this pull request Mar 19, 2026
…d_agent_navigation2

* commit '9289d6b5502db245e645e190b0246554396c6c20': (34 commits)
  [api-docs] 2026-03-19 Daily api_docs build (elastic#258471)
  [Shared UX][DateRangePicker] Missing parts (elastic#258229)
  [Dashboard] Keep pinned_panels separate in read response (elastic#258444)
  Move inheritance: true to top level in .coderabbit.yml (elastic#258461)
  [DOCS] 9.3.2 Kibana release notes (elastic#257332)
  adds routing accept metric attribute to the cps metric (elastic#258168)
  [ML] AI/Inference Connector creation: use 'location' field to correctly set provider config  (elastic#250838)
  [Lens] Add e2e test for legend list layout (elastic#258160)
  [SigEvents] Convert feature duplication evaluators to createPrompt pattern (elastic#256534)
  Add actionable-obs author to .coderabbit.yml (elastic#257922)
  [DOCS] 9.2.7 Kibana release notes (elastic#257331)
  Grant Serverless editor/viewer access to ES v2 indices (elastic#258384)
  [SigEvents][Evals] Rename terminology for KI features and KI queries (elastic#258361)
  [EDR Workflows][Osquery] Add shared table toolbar components and redesign saved queries list (elastic#258394)
  [Automatic Import V2] Upload samples using an existing index (elastic#258074)
  Add GET /inference_features route to expose feature registry (elastic#258044)
  fix additional fields not included (elastic#257625)
  [Discover] [Metrics] Add tier 2 journeys for Metrics in Discover E2E (elastic#255036)
  [Lens as code] Support correct X-Axis types in ES|QL visualizations (elastic#258159)
  Update APM (main) (elastic#254880)
  ...
flash1293 pushed a commit to flash1293/kibana that referenced this pull request Mar 19, 2026
…lastic#258159)

## Summary

Fix elastic#253009

Adds an axis type configuration option to the x-axis for ES|QL charts.
jeramysoucy pushed a commit to jeramysoucy/kibana that referenced this pull request Mar 26, 2026
…lastic#258159)

## Summary

Fix elastic#253009

Adds an axis type configuration option to the x-axis for ES|QL charts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lens as Code] Timestamp fields in time series are considered keyword fields instead of date fields

4 participants