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

Add support of grouped stacked bar charts #673

Closed
raldone01 opened this issue Feb 26, 2024 · 6 comments
Closed

Add support of grouped stacked bar charts #673

raldone01 opened this issue Feb 26, 2024 · 6 comments
Labels

Comments

@raldone01
Copy link

raldone01 commented Feb 26, 2024

image

I plot the power consumption of my tracked devices daily, monthly, ...
I would love to add another bar next to the stacked bar with my total consumption so I can get an idea of how much energy usage I am not tracking.

Apex Charts should already support this with stacked groups.
A older issue also mentioned this #550.

Describe the solution you'd like
Support for grouped stacked columns would be splendid.

Describe alternatives you've considered
I tried two charts next to each other but its just not the same.
The y axis scale is not the same.

@raldone01 raldone01 added the feature-request New feature or request label Feb 26, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 27, 2024
@raldone01
Copy link
Author

Not stale...

@github-actions github-actions bot removed the Stale label Apr 28, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jun 27, 2024
@georgepauna
Copy link

See this rejected pull request (I have the exact same scenario):
#711

Meanwhile you can use a different Y axis ID for the total and you'll get what you want:
IMPORTANT: You must have a different chart style for total so that this works (e.g. use bars for current series and line or area for total)

image

@RomRider
Copy link
Owner

RomRider commented Jul 4, 2024

Grouped stacked colums are not supported on time series in apexcharts.js.

@github-actions github-actions bot removed the Stale label Jul 5, 2024
@RomRider RomRider added wontfix This will not be worked on and removed wontfix This will not be worked on labels Jul 5, 2024
github-actions bot pushed a commit that referenced this issue Jul 9, 2024
## [2.1.0-dev.4](v2.1.0-dev.3...v2.1.0-dev.4) (2024-07-09)

### Features

* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [#74](#74)
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [#673](#673) [#550](#550)
Copy link

github-actions bot commented Jul 9, 2024

🎉 This issue has been resolved in version 2.1.0-dev.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Jul 9, 2024
## [2.1.0](v2.0.4...v2.1.0) (2024-07-09)

### Features

* Add change type for statistics ([#555](#555)) ([608fbe5](608fbe5)), closes [#552](#552)
* **locales:** Support for new locales ([2fca527](2fca527))
* **series:** Direct support for dashed lines ([29aad77](29aad77)), closes [#413](#413)
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [#74](#74)
* **series:** support for `monotoneCubic` curves ([998cb99](998cb99))
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [#673](#673) [#550](#550)
* **statistics:** add weekly statistics period ([#680](#680)) ([e923126](e923126))
* support for server time ([55c8f97](55c8f97)), closes [#709](#709) [#579](#579)

### Bug Fixes

* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [#713](#713)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [#579](#579)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](221b0a5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants