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

Broken area chart on unordered ranges on x axis #77883

Closed
flash1293 opened this issue Sep 18, 2020 · 2 comments
Closed

Broken area chart on unordered ranges on x axis #77883

flash1293 opened this issue Sep 18, 2020 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

Kibana version: master

Describe the bug:

When using the range aggregation with an area chart and the ranges are not ordered correctly, the chart will not be rendered correctly

Steps to reproduce:

  1. Create an area chart
  2. Configure x axis as range agg
  3. Use the following ranges: 5000-6000, 0-1000, 1000-2000

Expected behavior:

The chart is shown correctly, treating each range as an ordinal value on the x axis

Screenshots (if relevant):

Ordered ranges:
Screenshot 2020-09-18 at 14 23 35

Unordered ranges:
Screenshot 2020-09-18 at 14 26 34

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Feature:XYAxis XY-Axis charts (bar, area, line) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Sep 18, 2020
@elasticmachine
Copy link
Contributor

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

@nickofthyme
Copy link
Contributor

I think this can be closed via #78154. The current vis_type_xy plugin renders the above configuration as so...

image

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

No branches or pull requests

3 participants