G2Plot
G2Plot copied to clipboard
Ability to set individual field color
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
Displaying data with correct colour indicating severity of data. Red for critical, Yellow for Medium, blue for Low
What does the proposed API look like?
color: [{fieldName:"Critical", color: "red"}]
maybe you could use “seriesField” to specify the field and customize color with color callback