ivanpadavan opened a new issue #9481: RadiusAxis doesn't show categories which 
actually fit.
URL: https://github.com/apache/incubator-echarts/issues/9481
 
 
   - [x] I have a bug to report;我想要报 bug
   
   ## Issue Details
   
   <!-- Use one sentence to describe what you want and what's wrong. 一句话描述问题。 
-->
   
   `RadiusAxis` of `category` type doesn't handle categoryLabels properly.
   
   If paste this configuration
    ```
   option = {
       angleAxis: {
       },
       radiusAxis: {
           type: 'category',
           data: ['Long sentence 1', 'Long sentence 2', 'Long sentence 3', 
'Long sentence 4'],
           z: 10
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [1, 2, 3, 4],
           coordinateSystem: 'polar',
           name: 'A',
           stack: 'a'
       }]
   };
   ```
   [here](https://ecomfe.github.io/echarts-examples/public/editor.html), you 
can see that category labels are cropped while there are enough space.
   
   ### Expected Behavior
   Labels should be rendered as there are enough space.
   ### Current Behavior
   Could be seen with info provided under issue details heading.
   ## Anything Else We Need to Know
   This could be fixed by adding
   ```
     getRotate: () => 90,
   ```
   to the [RadiusAxis 
class](https://github.com/apache/incubator-echarts/blob/master/src/coord/polar/RadiusAxis.js)
   
   ## Environment
   - ECharts version;4.2.0rc-2
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to