MNhat0308 opened a new issue, #18020:
URL: https://github.com/apache/echarts/issues/18020

   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   How to make the label slant to the width of the pie chart?
   
   ### Current Behavior
   
   I have a chart like this 
   ![Screen Shot 2022-12-05 at 16 11 
30](https://user-images.githubusercontent.com/57012342/205598525-85a657ab-e1b2-4135-8717-dc2bdfe086c9.png)
   Here is my option 
    
   `series: [
       {
         type: 'pie',
         radius: ['20%', '70%'],
         label: {
           show: true,
           position: 'inside',
            formatter: function (params) {
                     return `${params.percent}%`
                   },
         },
         emphasis: {
           label: {
             show: true,
             fontSize: '40',
             fontWeight: 'bold'
           }
         },
     ]`
   
   ### Expected Behavior
   
   So i want my percent slant to  the width of the pie chart like this
   ![Screen Shot 2022-12-05 at 16 16 
04](https://user-images.githubusercontent.com/57012342/205599489-9fefbdff-ff54-48b0-bb44-f9f82d57dd2d.png)
   I have also try rotate but now working as expected
   
   
   ### Environment
   
   ```markdown
   OS: macOS Monterey
   Browser: Chrome 96.0.4664.55
   Framework: reactjs
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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]

Reply via email to