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

Stacked Bars 100% does not calculate the percentage #345

Open
JMMFIRE opened this issue Jul 24, 2024 · 3 comments
Open

Stacked Bars 100% does not calculate the percentage #345

JMMFIRE opened this issue Jul 24, 2024 · 3 comments

Comments

@JMMFIRE
Copy link

JMMFIRE commented Jul 24, 2024

When using a stacked 100% bar chart, the percentage is not calculated. Instead, the labels are just rendered with a '%' after the number.

chart: { type: "bar", height: 350, stacked: true, stackType: "100%" },

This can even be seen in the demo: https://apexcharts.com/angular-chart-demos/bar-charts/stacked-bars-100/

Note that adding the '2013' row does not equal 100%.

@Javiervinus
Copy link

any solution to this issue?

@Javiervinus
Copy link

running angular 18.1.2
apexcharts: "^3.51.0",
ng-apexcharts: "^1.11.0"

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants