Conditional color fill in BarChart #7078
Unanswered
namakshenas
asked this question in
Q&A
Replies: 1 comment
-
Yes, it is possible, you can change colors of bars multipe ways:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.13.2
What package has an issue?
@mantine/charts
What framework do you use?
Other, I will specify in the bug description
In which browsers you can reproduce the issue?
Chrome
Describe the bug
Hi,
I'm trying to reproduce a similar bar chart like the following figure (the entry with
status: efficient
is colored withorange
andstatus: inefficient
withgreen
)Here is the dataset:
And here is working code via recharts:
So, I'm wondering it is possible to create the above chart using
@mantine/charts
?If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service
Beta Was this translation helpful? Give feedback.
All reactions