Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Vega] Warnings are too aggressive for short time range #208271

Open
nickofthyme opened this issue Jan 24, 2025 · 1 comment
Open

[Vega] Warnings are too aggressive for short time range #208271

nickofthyme opened this issue Jan 24, 2025 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nickofthyme
Copy link
Contributor

Kibana version:

latest

Describe the bug:

When you enter a Vega map where the time range is too small to generate any data you get a bunch of warnings like the one below.

Infinite extent for field "doc_count": [Infinity, -Infinity]

Related to #75485

Steps to reproduce:

  1. Load Logs Sample dataset
  2. Open the [Logs] Visitors Map vis in vega
  3. Set the time to last 15 minutes
  4. Try to pan the map
  5. Notice the error fill the page.

Expected behavior:

Less warnings. Basically it starts with 2 warnings then any interaction with the map immediately creates dozens of warning which causes the scroll height to exceed the height of the vis and makes any interaction with the map impossible.

I'm not sure of the ideal solution here but possibly deduplicating warnings so only 1 warning is shown. With this we should also confine the container height to prevent scrolling beyond the vis container. A better solution would be to somehow inform the user to expand the time range from the time picker.

Screenshots (if relevant):

Zight.Recording.2025-01-24.at.02.12.11.PM.mp4

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

@nickofthyme nickofthyme added bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 24, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Vega Vega visualizations Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants