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] Treemap error on sparse table #164730

Closed
dej611 opened this issue Aug 24, 2023 · 1 comment · Fixed by elastic/elastic-charts#2260
Closed

[Lens] Treemap error on sparse table #164730

dej611 opened this issue Aug 24, 2023 · 1 comment · Fixed by elastic/elastic-charts#2260
Labels
blocked bug Fixes for quality problems that affect the customer experience Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@dej611
Copy link
Contributor

dej611 commented Aug 24, 2023

Describe the bug:

In some specific scenarios the Treemap throws a Maximum stack error. Note that Treemap is the only partition visualization type affected by this issue.

Steps to reproduce:

  1. Create a Lens visualization from the Flight sample data
  2. Define a Group by dimension as Date histogram with timestamp
  3. Define a Metric dimension as Count of Records
  4. Define the time range to 15 minutes

Expected behavior:

The Treemap renders.

Screenshots (if relevant):

treemap_forever

Errors in browser console (if relevant):

Uncaught RangeError: Maximum call stack size exceeded
    at bestVector (treemap.js:39:1)
    at treemap (treemap.js:76:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
    at treemap (treemap.js:98:1)
@dej611 dej611 added bug Fixes for quality problems that affect the customer experience blocked Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Aug 24, 2023
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked bug Fixes for quality problems that affect the customer experience Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants