Skip to content

Fix: display stacked bar with multiple x-Axis #12070

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xavierleune
Copy link

Hello everyone,

When you try to use stackedBars with multiple axes, the bars all render at the center of each axis chunk, so they're hidden by whichever bar is rendered last.

You can see a live example on codepen

screenshot

This pull request fixes this behavior. It counts the number of x axes and adjusts size and positions according to that number.

As this is my first pull request on this project, I may have missed something. If that's so, please tell me.

Have a nice day !

@LeeLenaleee LeeLenaleee added this to the Version 4.5.0 milestone May 7, 2025
@xavierleune
Copy link
Author

@LeeLenaleee thanks for the approval on the pipeline, do you have an idea why it failed ? It seems to be unrelated to my changes ?

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

Successfully merging this pull request may close these issues.

2 participants