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

Column charts do not stack without stack_group if yaxis is set #827

Open
4 tasks done
scop opened this issue Dec 15, 2024 · 1 comment
Open
4 tasks done

Column charts do not stack without stack_group if yaxis is set #827

scop opened this issue Dec 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@scop
Copy link

scop commented Dec 15, 2024

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser
  • I verified that I'm really running the lastest version in my browser console
  • I checked if there is another issue opened with the same problem

Describe the bug

Since version 2.1.0, a top level stacked: true is not enough to cause column series to stack if a top level yaxis configuration is present.

If no top level yaxis is present, stacking works.

The workaround is to assign series manually to stack_groups, but I feel it's a bug or at least weird behavior that it needs to be done only if an yaxis config is present.

Version of the card
Version: 2.1.2

To Reproduce
This is the configuration I used:

Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

See debugging details at https://community.home-assistant.io/t/apexcharts-card-stacked-bar-graph-doesnt-stack-when-yaxis-is-included/810829

@scop scop added the bug Something isn't working label Dec 15, 2024
@scop
Copy link
Author

scop commented Dec 15, 2024

Found #730 after filing this, seems related, if not duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant