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

[Lens] Tagcloud not correctly resizing #202826

Open
nickofthyme opened this issue Dec 3, 2024 · 1 comment
Open

[Lens] Tagcloud not correctly resizing #202826

nickofthyme opened this issue Dec 3, 2024 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens Feature:Tagcloud Tag cloud visualization feature Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nickofthyme
Copy link
Contributor

nickofthyme commented Dec 3, 2024

Kibana version:

8.17

Describe the bug:

When a tagcloud visualization is resized, rather than adjusting the size of all terms to fit in the space weighted by their desired metric value, the vis just removes the values that don't fit.

Steps to reproduce:

  1. Create a new tagcloud vis with logs data split by clientip.
  2. Take note of the larges values.
  3. Resize the visualization until you notice the largest value disappear.

Expected behavior:

The vis rescales all tags by the desired metric to fit in the available space.

Screenshots (if relevant):

Image

Notice the largest value of 177.120.218.48 disappears after it cannot fit in the available space.

Any additional context:

May likely require a fix from https://github.com/elastic/elastic-charts

This is not even fixed by refreshing the page.

When this occurs the viz can enter an infinite update of the resize observer. The may be due to the obscure setWarning logic.

@nickofthyme nickofthyme added bug Fixes for quality problems that affect the customer experience Feature:Lens Feature:Tagcloud Tag cloud visualization feature Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 3, 2024
@elasticmachine
Copy link
Contributor

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

@nickofthyme nickofthyme added the Feature:ElasticCharts Issues related to the elastic-charts library label Dec 3, 2024
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:ElasticCharts Issues related to the elastic-charts library Feature:Lens Feature:Tagcloud Tag cloud visualization feature Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants