ssthouse opened a new pull request #15104: URL: https://github.com/apache/echarts/pull/15104
<!-- 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. --> ### Fixed issues - #14879 ## Details Seems like a [previous commit](https://github.com/apache/echarts/commit/c5dc732c797ebdc2ca1c86c7005a8e4f693d0539#diff-1e5adccab43aa7a33469251b12bb3ae79a3e71da5f5a6f0be0b248f69c7a1d58) introduce this issue #14879, the user-configured `verticalAlign` attribute is overridden; I moved the default `verticalAlign: 'middle'` to PieSeries‘s default config to solve this issue; ### Before: What was the problem? config: ```javascript label: { verticalAlign: 'top', padding: [50, 50, 0, 50] }, ``` <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. --> <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->  ### After: How is it fixed in this PR? <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. --> <!-- ADD SCREENSHOT HERE IF APPLICABLE. --> config: ```javascript label: { verticalAlign: 'top', padding: [50, 50, 0, 50] }, ```  ## Misc <!-- ADD RELATED ISSUE ID WHEN APPLICABLE --> - [ ] The API has been changed (apache/echarts-doc#xxx). - [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx). ### 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]
