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] Setting metric label to blank causes XY charts to show no data #82769

Closed
wylieconlon opened this issue Nov 5, 2020 · 2 comments · Fixed by #91132
Closed

[Lens] Setting metric label to blank causes XY charts to show no data #82769

wylieconlon opened this issue Nov 5, 2020 · 2 comments · Fixed by #91132
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@wylieconlon
Copy link
Contributor

This is a minor bug on master because it's easy for users to work around the bug by setting a non-blank label. There are several solutions I could imagine:

  1. Treat a blank label as an error on the XY chart
  2. Treat a blank label as if it's using the default label
  3. Never allow blank labels, but allow users to clear their custom labels and return to the default
@wylieconlon wylieconlon added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Nov 5, 2020
@elasticmachine
Copy link
Contributor

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

@wylieconlon wylieconlon added good first issue low hanging fruit :KibanaApp/fix-it-week and removed good first issue low hanging fruit labels Nov 5, 2020
@dej611
Copy link
Contributor

dej611 commented Nov 25, 2020

To reproduce it:

  • Set a Y/Vertical axis field with an empty "Display name"
  • Set a X/Horizontal axis field (keep the "Display name").
  • Leave the Break down empty

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

Successfully merging a pull request may close this issue.

3 participants