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

   ### What problem does this feature solve?
   
   When we have `axisLabel.interval: 0`, we need to set `axisLabel.rotate` to 
prevent overlap. The rotation angel usually depends on the element width and 
number of the labels. Now we need to calculate the rotation manually. It would 
be more convinient if it could be calculated automatically.
   
   ### What does the proposed API look like?
   
   ```
   xAxis.axisLabel.rotate: 'auto'
   yYxis.axisLabel.rotate: 'auto'
   ```
   
   or 
   
   ```
   xAxis.axisLabel.rotate: (labels, dom) => {} // or some other params
   ```


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