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

centerInCategory setting reverses stack groups order #16169

Closed
OldBuddy opened this issue Aug 9, 2021 · 4 comments · Fixed by #16834
Closed

centerInCategory setting reverses stack groups order #16169

OldBuddy opened this issue Aug 9, 2021 · 4 comments · Fixed by #16834

Comments

@OldBuddy
Copy link

OldBuddy commented Aug 9, 2021

Expected behaviour

centerInCategory: true in combination with reversedStacks: false shouldn't affect order of different stacks.

Actual behaviour

centerInCategory: true affects order of different stacks (also labels are misplaced).

Live demo with steps to reproduce

https://jsfiddle.net/gv4skudb/
(series 1 and series 2 stack group must be first)

Product version

8.1.1 and later

Affected browser(s)

All

@raf18seb
Copy link
Contributor

Hi @OldBuddy, thank you for reporting the problem.

@OldBuddy
Copy link
Author

Hi @raf18seb, any estimates on fixing this? It's quite affecting our UX.

@KacperMadej
Copy link
Contributor

Currently, there is no other workaround than reversing the series in the chart options to get the correct order.
There is no ETA for the fix of the issue just yet.
Bumping priority of the issue.

@karolkolodziej
Copy link
Contributor

Internal note:
adjustForMissingColumns method doesn't calculate the indexInCategory correctly and returns incorrect x position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants