Skip to content

Broken area chart on unordered ranges on x axis #77883

@flash1293

Description

@flash1293

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:XYAxisXY-Axis charts (bar, area, line)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions