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] embedded pie chart disappears after resize #171408

Closed
drewdaemon opened this issue Nov 16, 2023 · 2 comments · Fixed by #172802
Closed

[Lens] embedded pie chart disappears after resize #171408

drewdaemon opened this issue Nov 16, 2023 · 2 comments · Fixed by #172802
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@drewdaemon
Copy link
Contributor

Kibana version:
main

Describe the bug:
When a dashboard panel containing a Lens pie chart is resized down to nothing, the pie chart disappears until a dashboard refresh.

Screenshots (if relevant):

Screen.Recording.2023-11-16.at.7.25.05.AM.mov
@drewdaemon drewdaemon added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Nov 16, 2023
@elasticmachine
Copy link
Contributor

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

@markov00 markov00 self-assigned this Dec 6, 2023
@markov00 markov00 added the Feature:ElasticCharts Issues related to the elastic-charts library label Dec 6, 2023
@markov00
Copy link
Member

markov00 commented Dec 6, 2023

I've a PR that fix this issue in elastic-charts elastic/elastic-charts#2273

markov00 added a commit that referenced this issue Dec 7, 2023
## Summary

fix #171408
improves the style of tooltip by enlarging its size see
elastic/elastic-charts#2048
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Dec 7, 2023
## Summary

fix elastic#171408
improves the style of tooltip by enlarging its size see
elastic/elastic-charts#2048

(cherry picked from commit f684005)
kibanamachine referenced this issue Dec 7, 2023
…172890)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Lens] Fix tooltip size and partition rerendering
(#172802)](#172802)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marco
Vettorello","email":"marco.vettorello@elastic.co"},"sourceCommit":{"committedDate":"2023-12-07T20:55:24Z","message":"[Lens]
Fix tooltip size and partition rerendering (#172802)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/171408\r\nimproves the style of
tooltip by enlarging its size
see\r\nhttps://github.com/elastic/elastic-charts/issues/2048","sha":"f6840055d4c828787aab742ce082ab8911e8a5a9","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Visualizations","release_note:skip","backport:prev-minor","v8.12.0","v8.13.0"],"number":172802,"url":"https://github.com/elastic/kibana/pull/172802","mergeCommit":{"message":"[Lens]
Fix tooltip size and partition rerendering (#172802)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/171408\r\nimproves the style of
tooltip by enlarging its size
see\r\nhttps://github.com/elastic/elastic-charts/issues/2048","sha":"f6840055d4c828787aab742ce082ab8911e8a5a9"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172802","number":172802,"mergeCommit":{"message":"[Lens]
Fix tooltip size and partition rerendering (#172802)\n\n##
Summary\r\n\r\nfix
https://github.com/elastic/kibana/issues/171408\r\nimproves the style of
tooltip by enlarging its size
see\r\nhttps://github.com/elastic/elastic-charts/issues/2048","sha":"f6840055d4c828787aab742ce082ab8911e8a5a9"}}]}]
BACKPORT-->

Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
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 impact:low Addressing this issue will have a low 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.

4 participants