Displaying multiple background color for a dataset #10187
Answered
by
kurkle
muskankhedia
asked this question in
Q&A
-
Feature ProposalI want to set different background colours for a dataset based on a specific condition. If we can add a condition for background colours as,
JS Fiddle: https://jsfiddle.net/muskan_khedia/zct270fq/3/ Possible ImplementationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
kurkle
Feb 22, 2022
Replies: 1 comment 3 replies
-
You can assign a function to https://www.chartjs.org/docs/latest/samples/scriptable/bar.html |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
muskankhedia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can assign a function to
backgroundColor
(and almost any option).https://www.chartjs.org/docs/latest/samples/scriptable/bar.html