Skip to content

[Canvas] Stacked bar rendering fails in some cases #52419

@wylieconlon

Description

@wylieconlon

Example expression:

filters
| essql 
  query="SELECT \"geo.src\", \"geo.dest\", COUNT(*) as c FROM \"kibana_sample_data_logs\" WHERE \"@timestamp\" > NOW() - INTERVAL 7 DAYS GROUP BY \"geo.src\", \"geo.dest\" ORDER BY COUNT(*) DESC LIMIT 50"
| pointseries x="geo.src" y="c" color="geo.dest" text="geo.dest"
| plot defaultStyle={seriesStyle bars=0.8 stack=true}
| render

Example output as bars:

Screenshot 2019-12-06 11 35 47

I suspect that this is caused by some kind of issue with sorting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:CanvasTeam:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experienceimpact:needs-assessmentProduct and/or Engineering needs to evaluate the impact of the change.loe:needs-researchThis issue requires some research before it can be worked on or estimated

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions