admin3w opened a new issue, #19969:
URL: https://github.com/apache/echarts/issues/19969
### What problem does this feature solve?
Legend cannot set the font color, but we want to be able to make the text
color match the legend shape color
This effect can be achieved by defining legend.textStyle.color as a function
and returning undefined in echarts v5.5.0
### What does the proposed API look like?
```javastcript
{
legend:{
textStyle:{
color(e){
// e have series info
return "#000"
},
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]