linghaoSu opened a new pull request, #18800: URL: https://github.com/apache/echarts/pull/18800
<!-- 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 ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. --> fix labelLine style not follow label style when normal state `show: false`, other state `show: true`; ### Fixed issues - #18680 ## Details ### Before: What was the problem? <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> when set normal state label show is false, and other state(such as emphasis) state label show: true labelLine style cannot inherit sector color, and always `#000` <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> <img width="439" alt="image" src="https://github.com/apache/echarts/assets/56526981/2ab72e3b-7a17-4f6d-98e0-0bd5d16d77cc"> ### After: How does it behave after the fixing? <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> although normal state label is show: false, but once any state has show: true, labelStyle will inhreit sector style <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> <img width="927" alt="image" src="https://github.com/apache/echarts/assets/56526981/e75f6eab-1055-4e5a-b74c-3c7fde0ebfd6"> ## Document Info One of the following should be checked. - [x] This PR doesn't relate to document changes - [ ] The document should be updated later - [ ] The document changes have been made in apache/echarts-doc#xxx ## Misc ### ZRender Changes - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### Related test cases or examples to use the new APIs N.A. ## Others ### Merging options - [ ] Please squash the commits into a single one when merging. ### 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. 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]
