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] Percentage charts can have gaps in a series #93648

Closed
dej611 opened this issue Mar 4, 2021 · 4 comments · Fixed by #94086
Closed

[Lens] Percentage charts can have gaps in a series #93648

dej611 opened this issue Mar 4, 2021 · 4 comments · Fixed by #94086
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.12.0

Comments

@dej611
Copy link
Contributor

dej611 commented Mar 4, 2021

Kibana version: master as fe1ae92 (> 7.12)

Describe the bug:

Due to Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1163912

When using area percentage chart with a date histogram, if one of the series has no value for the time bucket, the chart may be rendered with a gap. The gap can be in any part of the chart (also within two series - so not directly as this issue).

Steps to reproduce:

  1. Create a new date histogram in Lens with the flight sample data
  2. Add Count of Records as Vertical axis
  3. Add Top values of FlightDelayTypeasBreak down by`

Expected behavior:

Either 100% fill or 0%. No intermediate area, nor gaps.

Screenshots (if relevant):

Screenshot 2021-03-04 at 18 34 41

Screenshot 2021-03-04 at 18 45 37

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

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

@flash1293
Copy link
Contributor

@dej611 is there something we can/should do from the consumer side?

@dej611
Copy link
Contributor Author

dej611 commented Mar 5, 2021

It seems like filling all the missing buckets with 0 fixes the issue: https://codesandbox.io/s/blue-microservice-b3mf9?file=/src/App.tsx

@flash1293
Copy link
Contributor

Sounds like a good workaround.

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 v7.12.0
Projects
None yet
4 participants