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

If you save a pie chart with spy panel - only spy panel gets displayed in the dashboard(you have to collapse the spy panel explicitly to display the pie chart) #11456

Closed
bhavyarm opened this issue Apr 26, 2017 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Inspector Inspector infrastructure and implementations Feature:Visualizations Generic visualization features (in case no more specific feature label is available)

Comments

@bhavyarm
Copy link
Contributor

Kibana version: 5.4.0 BC2

Elasticsearch version: 5.4.0 BC2

Server OS version: darwin_x86_64

Browser version: chrome latest

Browser OS version: OS X

Original install method (e.g. download page, yum, from source, etc.): 5.4.0 bc2

Description of the problem including expected versus actual behavior: I created a pie chart and saved it with the spy panel expanded. When I added it to dashboard - instead of pie chart getting displayed - only spy panel gets displayed. I have to explicitly collapse the spy panel to display the pie chart. If I go back to the visualization and save it after collapsing spy channel and reopen the dashboard - it works fine. Only pie chart gets displayed.

Please note - I couldn't really reproduce this bug with any other pie charts. Logging it here after discussing it with Thomas.
spy_panel

@bhavyarm bhavyarm added Feature:Pie Chart Pie chart visualization feature Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience labels Apr 26, 2017
@timroes timroes added Feature:Inspector Inspector infrastructure and implementations and removed Feature:Pie Chart Pie chart visualization feature labels Feb 9, 2018
@timroes
Copy link
Contributor

timroes commented Feb 9, 2018

This is expected behavior. A chart currently stores whether or not the spy panel was opened when saving it so the state of the spy panel will be preserved. So the spy panel will also be opened when placed on a dashboard. If the remaining chart size is below 180px the spy panel will instead fill the whole container, so the chart won't be drawn "too small".

Since this is intended behavior and #16185 is anyway already worked on, I'll close this.

@timroes timroes closed this as completed Feb 9, 2018
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:Inspector Inspector infrastructure and implementations Feature:Visualizations Generic visualization features (in case no more specific feature label is available)
Projects
None yet
Development

No branches or pull requests

2 participants