linghaoSu opened a new pull request, #18820:
URL: https://github.com/apache/echarts/pull/18820

   <!-- Please fill in the following information to help us review your PR more 
efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   
   ### What does this PR do?
   
   add angel range to implement half pie.
   
   <!-- USE ONE SENTENCE TO DESCRIBE WHAT THIS PR DOES. -->
   
   ### Fixed issues
   
   - fix #18732
   - fix #9647
   
   <!--
   - #xxxx: ...
   -->
   
   
   ## Details
   
   ### Before: What was the problem?
   
   If I want a half pie seies, I have to calculate total, to create a 
transparent sector shape
   
   [<img width="1724" alt="image" 
src="https://github.com/apache/echarts/assets/56526981/dada2397-e118-4807-af4f-5e4ba6c58b94";>](https://echarts.apache.org/examples/en/editor.html?c=pie-half-donut)
   
   
   
   ### After: How does it behave after the fixing?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. 
-->
   
   Add a attribute to control pie angel range, so I can show a half pie series 
just write options like this
   
   <img width="404" alt="image" 
src="https://github.com/apache/echarts/assets/56526981/320820f3-e9c5-402d-9a66-9824d357c736";>
   
   you will get pie series like this
   
   <img width="969" alt="image" 
src="https://github.com/apache/echarts/assets/56526981/282f0cdc-09aa-459f-9581-a93551047e81";>
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
   
   
   ## Document Info
   
   One of the following should be checked.
   
   - [ ] This PR doesn't relate to document changes
   - [x] 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: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to