Open
Description
Hi.. am trying to use your package. In my project i need to display different bar colors depending on the data. My code is as below. But its not working. can u pls suggest how to implement this.
style={{
data: {
fill: ({ trained }) => {
console.log('inside trained...',trained)
trained === 1 ? 'green'
: trained === 2 ? 'orange'
: 'grey'
}
}
}}
Metadata
Assignees
Labels
No labels