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

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

Closed
wylieconlon opened this issue Dec 6, 2019 · 3 comments
Closed

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

wylieconlon opened this issue Dec 6, 2019 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Canvas impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@wylieconlon
Copy link
Contributor

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.

@wylieconlon wylieconlon added bug Fixes for quality problems that affect the customer experience Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels Dec 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas (Team:Canvas)

@wylieconlon
Copy link
Contributor Author

Comparing this to the vega editor with the same dataset:

Screenshot 2019-12-06 15 48 43

Try it in the vega editor

@clintandrewhall clintandrewhall added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated labels Mar 1, 2021
@ThomThomson
Copy link
Contributor

Closing this as we are not prioritizing Canvas chart visuals for the time being. A workpad author can use a chart from Lens instead for more appropriate styling.

@ThomThomson ThomThomson closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2023
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:Canvas impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. loe:needs-research This issue requires some research before it can be worked on or estimated Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

5 participants