karma2014 opened a new pull request #12217: feat(bar): in polar axis provide 
negative values. close #12109
URL: https://github.com/apache/incubator-echarts/pull/12217
 
 
   <!-- 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?
   To support the bar chart in polar axis provide negative values, I hava found 
an example. In polar coordinate system, the option.radiusAxis.min not only 
negative values are not supported, but other values except 0 are also not 
supported, so this submission is to solve this problem.
   
   Here is the example' s option:
   ```
   option = {
       angleAxis: {
           type: 'category',
           data: ['S1', 'S2', 'S3']
       },
       radiusAxis: {
           min: 1,
           max: 6
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           itemStyle:{
               color:"blue"
               
           },
           name: 'A',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'B',
           stack: 'a'
       },
       {
           type: 'bar',
           data: [2, 2, 2],
           coordinateSystem: 'polar',
           name: 'C',
           stack: 'a'
       }],
       legend: {
           show: true,
           data: ['A', 'B', 'C']
       }
   };
   ```
   
   ### Fixed issues
   To fix the issue 
[12109](https://github.com/apache/incubator-echarts/issues/12109)
   <!--
   - #xxxx: ...
   -->
   
   
   ## Details
   
   ### Before: What was the problem?
   
   <!-- DESCRIBE THE BUG OR REQUIREMENT HERE. -->
   [12109](https://github.com/apache/incubator-echarts/issues/12109)
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
   
![image](https://user-images.githubusercontent.com/9964854/75661565-84c53800-5ca8-11ea-9e1d-e9dd4b06f64c.png)
   
   ### After: How is it fixed in this PR?
   
   <!-- THE RESULT AFTER FIXING AND A SIMPLE EXPLANATION ABOUT HOW IT IS FIXED. 
-->
   fix the the issue 
[12109](https://github.com/apache/incubator-echarts/issues/12109) and solve the 
radiusAxis.min do not support value except 0.
   
   <!-- ADD SCREENSHOT HERE IF APPLICABLE. -->
   
   
![image](https://user-images.githubusercontent.com/9964854/75665957-f2c12d80-5caf-11ea-9b7d-12db68d5a592.png)
   
   
   ## Usage
   
   ### Are there any API changes?
   
   - [ ] The API has been changed.
   
   <!-- LIST THE API CHANGES HERE -->
   
   
   
   ### 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]


With regards,
Apache Git Services

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

Reply via email to