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] Line/Bar Chart Visualization Scroll Bar Hides Text #94596

Closed
nicpenning opened this issue Mar 15, 2021 · 7 comments
Closed

[Lens] Line/Bar Chart Visualization Scroll Bar Hides Text #94596

nicpenning opened this issue Mar 15, 2021 · 7 comments
Assignees
Labels
blocked bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@nicpenning
Copy link

Kibana version:
7.11.1

Elasticsearch version:
7.11.1
Server OS version:
N/A
Browser version:
89.0.4389.82 (Official Build) (64-bit)
Browser OS version:
Windows 10 20H2
Original install method (e.g. download page, yum, from source, etc.):
Binaries

Describe the bug:
Single digit fields get covered up by the scroll bar rendering the labels nearly useless.
Steps to reproduce:

  1. Create a Lens visualization with 10+ fields.
  2. Add to dashboard and shorten the size until a scroll bar exists
  3. See that the scroll bar cuts into the values.

Expected behavior:
I expect that the labels will be visible and not hidden by the scroll bar.

Screenshots (if relevant):
image

Errors in browser console (if relevant):
N/A
Provide logs and/or server output (if relevant):
N/A
Any additional context:

@nicpenning nicpenning added the bug Fixes for quality problems that affect the customer experience label Mar 15, 2021
@wylieconlon wylieconlon added Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 26, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor

cc @elastic/elastic-charts we've run into legend size issues like this many times

@nickofthyme
Copy link
Contributor

@wylieconlon Thanks I'll take a look.

@nickofthyme nickofthyme self-assigned this Mar 29, 2021
@nickofthyme
Copy link
Contributor

@flash @wylieconlon I am not able to reproduce this in master

image

This could have been fixed by elastic/elastic-charts#1019 (v24.6.0) but could you verify this is fixed in master when you get a chance?

The only other thing would be that the legend only resizes once per render so an edge case may exist where the series names in the legend change without updating the legend width.

@flash1293
Copy link
Contributor

@nickofthyme This is not fixed - it's mostly happening for short labels:
Screenshot 2021-04-12 at 09 46 11

To reproduce, create a chart with this configuration using the logs sample data (disable the "other" bucket):
Screenshot 2021-04-12 at 09 47 04

@nickofthyme
Copy link
Contributor

Thanks @flash1293 I'll take a look using that config.

@nickofthyme
Copy link
Contributor

nickofthyme commented Apr 22, 2021

This is fixed in @elastic/[email protected] and in kibana master and 7.13.

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 Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants