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

give bars different colors based on different value #177

Open
MichelleMayambu opened this issue Apr 9, 2020 · 4 comments
Open

give bars different colors based on different value #177

MichelleMayambu opened this issue Apr 9, 2020 · 4 comments

Comments

@MichelleMayambu
Copy link

i am trying to create a bar chart that will have different coloured bars based on the value of the independent bar itself.

Somebody please assist me

@ignoreintuition
Copy link
Owner

Can you send me a link to the code and I can take a look?

@MichelleMayambu
Copy link
Author

MichelleMayambu commented Apr 11, 2020

@ignoreintuition
i am currently running my code locally as a vue project . so far everything works well but my bars are all the same color
github1
github2

this is my output
github3

@ignoreintuition
Copy link
Owner

The bars would be the same color unless they were based off of different characteristics. If you want them to change color based off of thresholds or if you want to compare different items you can vary the colors of the individual bars.

@MichelleMayambu
Copy link
Author

@ignoreintuition thank you so much for your response.

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