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

Colors issue on bar charts. Only uses first color #50

Open
CodeHedge opened this issue Jan 2, 2024 · 1 comment
Open

Colors issue on bar charts. Only uses first color #50

CodeHedge opened this issue Jan 2, 2024 · 1 comment

Comments

@CodeHedge
Copy link

image

No matter what I try I cant get it to use multiple colors like the documentation suggests. It only uses the first color

I've even tried with gradients with no luck

@traviscox
Copy link
Collaborator

I can't see what your series data looks like. In order to use multiple colors, each bar must be represented as a different category. See the example here:

https://apexcharts.com/javascript-chart-demos/bar-charts/custom-datalabels/

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

No branches or pull requests

2 participants