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

Normal bars can get cut off at right hand side when mixed with line chart type #45602

Closed
matschaffer opened this issue Sep 13, 2019 · 1 comment · Fixed by #78154
Closed

Normal bars can get cut off at right hand side when mixed with line chart type #45602

matschaffer opened this issue Sep 13, 2019 · 1 comment · Fixed by #78154
Labels
bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line)

Comments

@matschaffer
Copy link
Contributor

matschaffer commented Sep 13, 2019

Kibana version: 7.3.2

Elasticsearch version: 7.3.2

Server OS version: Elastic Cloud

Browser version: Chrome 76.0.3809.132

Browser OS version: macOS Mojave 10.14.5 (18F132)

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

Describe the bug:

If you build a vertical bar graph then unstack the the metrics (Set mode: normal) the far right bar can get cut off depending on the X-axis resolution and time span.

Steps to reproduce:

  1. Use example flight data
  2. Build a vertical bar graph with a few items
  • average AvgTicketPrice (line, right Y axis)
  • average DistanceKilometers (bar, normal, left Y axis)
  • average DistanceMiles (bar, normal, left Y axis)
  1. View 24hrs with 1hr date histogram buckets

Expected behavior:

Each bar is fully viewable

Screenshots (if relevant):

Screen_Shot_2019-09-13_at_10_38_25_AM

Errors in browser console (if relevant):

None

Provide logs and/or server output (if relevant):

Doesn't seem relevant

@matschaffer matschaffer added bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) labels Sep 13, 2019
@matschaffer
Copy link
Contributor Author

Additionally, using the line type in conjunction with the bar type seems to cause some difference in the date histogram rendering.

Kibana

If I switch the line to a bar, the point is rendered with the bars to the right of where it appears on the mixed graph.

Kibana

The bars appear to be better aligned as well, so could be the addition of the line is what's causing the bar rendering to get cut off.

@matschaffer matschaffer changed the title Normal bars can get cut off at right hand side Normal bars can get cut off at right hand side when mixed with line chart type Sep 13, 2019
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:XYAxis XY-Axis charts (bar, area, line)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant