[Feature] Custom background color for bar chart
Open
en
new-feature
topic: bar
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
Different color for each bar's background
### What does the proposed API look like?
```javascript
backgroundStyle: {
color: (params) =>{
if (params.name === 'USA') return 'red'
return 'green'
},
borderRadius: 10,
},
```
Contributor guide
Assessment
This issue has not been assessed yet.