Closed simplycodepix closed 3 years ago
Thanks, it's cool. But the question is about labels, not legends. For legends, there is some documentation that describes how we can customize those things. But for labels, it seems like we can't change values dynamically, please, see - https://g2plot.antv.vision/en/docs/api/components/label/#gatsby-focus-wrapper
I want this value to be in black
The config with solution looks like this:
const config = {
label: {
layout: [
{ type: 'adjust-color' },
],
},
};
My config:
The chart looks like this, right now:
I want the "billable" label to show the value in black color. How can I do that?