Nick22nd opened a new pull request #14254: URL: https://github.com/apache/echarts/pull/14254
<!-- Please fill in the following information to help us review your PR more efficiently. --> ## Brief Information This pull request is in the type of: - [x] bug fixing - [ ] new feature - [ ] others ### What does this PR do? <!-- USE ONCE SENTENCE TO DESCRIBE WHAT THIS PR DOES. --> fix the color of series label on custom series not following the color of bars ### Fixed issues <!-- - #xxxx: ... --> - #14092: Series Label on Custom Series not working properly ## Details ### Before: What was the problem? <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> The color of series label on custom series followed the last/hovered bar. <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->  ### After: How is it fixed in this PR? I read the comment below and code on v4.9.0 branch. But I'm not sure whether the fix meets requirement of comment below: <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> Element.ts ``` outsideFill is a color string or left empty. If a textContent is "inside", its final fill will be picked by this priority: textContent.style.fill > textConfig.outsideFill > #000 ``` txCfg.outsideFill always get 'auto' as default value , the color of series label should follow the color of bars. <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->  ## Usage ### Are there any API changes? - [ ] The API has been changed. <!-- LIST THE API CHANGES HERE --> ### Related test cases or examples to use the new APIs NA. ## Others ### Merging options - [ ] Please squash the commits into a single one when merge. ### Other information ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
