Skip to content

Broken area chart on unordered ranges on x axis #77883

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

Activity

  1. added
    bugFixes for quality problems that affect the customer experience
    Feature:XYAxisXY-Axis charts (bar, area, line)
    Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//
    on Sep 18, 2020
  2. elasticmachine commented on Sep 18, 2020

    @elasticmachine
    Contributor

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

  3. nickofthyme commented on Mar 1, 2021

    @nickofthyme
    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

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