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

More values in legend causing chart to break #15668

Closed
SnchitGrover opened this issue Dec 18, 2017 · 3 comments · Fixed by #31466
Closed

More values in legend causing chart to break #15668

SnchitGrover opened this issue Dec 18, 2017 · 3 comments · Fixed by #31466
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:Vislib Vislib chart implementation Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@SnchitGrover
Copy link

Kibana version: 6.1
Elasticsearch version: 6.1
Server OS version: Ubuntu
Browser version: Chrome
Browser OS version: MacOS High Sierra

Description of the problem including expected versus actual behavior:
Chart breaks because of values in legend take up the space.

screen shot 2017-12-18 at 1 23 52 pm

@epixa epixa added 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 Dec 22, 2017
@timroes timroes added the Feature:Vislib Vislib chart implementation label Jan 16, 2018
@dougbw
Copy link

dougbw commented Jan 23, 2018

Kibana version 6.1.1
Browser: Chrome Version 63.0.3239.84 (Official Build) (64-bit)
Browser OS: Windows 7

This is affecting us too, any chart which has 5+ legend labels with long-ish names pushes the chart rendering outside of its boundaries.

image

@timroes timroes added the Feature:ElasticCharts Issues related to the elastic-charts library label Apr 20, 2018
@timroes timroes added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Sep 16, 2018
@timroes timroes added Feature:XYAxis XY-Axis charts (bar, area, line) and removed Feature:Visualizations Generic visualization features (in case no more specific feature label is available) labels Oct 18, 2018
@jchull
Copy link

jchull commented Oct 31, 2018

This is the same cause as for #14173 and I see it on the dashboard as well as the visualize editor.
I have a fix mostly done now, which is to replace the old angular legend. If you set breakpoints in the code, you can see that it is because it takes so long for angular to render the legend, it only has "loading..." in there when the chart is sized.

@rafalj4
Copy link

rafalj4 commented Feb 20, 2019

Can you provide information in which version of Kibana this bug will be fixed?

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:Vislib Vislib chart implementation Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants