You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/04/09 02:24:51 UTC

[GitHub] [echarts] Wuli-Zhang opened a new issue #14627: 极坐标下负值数据渲染错误

Wuli-Zhang opened a new issue #14627:
URL: https://github.com/apache/echarts/issues/14627


   ### Version
   5.0.0
   
   ### Steps to reproduce
   初始化极坐标图表,然后显示正常数据,当setoption为负值时,渲染方向无变化,依旧正向渲染,导致显示错误。
   ```
   option = {
       angleAxis: {
       },
       radiusAxis: {
           type: 'category',
           data: ['周一'],
           z: 10
       },
       polar: {
       },
       series: [{
           type: 'bar',
           data: [1],
           coordinateSystem: 'polar',
           name: 'A',
           emphasis: {
               focus: 'series'
           }
       }, {
           type: 'bar',
           data: [2],
           coordinateSystem: 'polar',
           name: 'B',
           emphasis: {
               focus: 'series'
           }
       }, {
           type: 'bar',
           data: [1],
           coordinateSystem: 'polar',
           name: 'C',
           emphasis: {
               focus: 'series'
           }
       }],
       legend: {
           show: true
       }
   };
   
   setTimeout(function() {
       myChart.setOption({
           series: [{
           type: 'bar',
           data: [1],
           coordinateSystem: 'polar',
           name: 'A',
           emphasis: {
               focus: 'series'
           }
       }, {
           type: 'bar',
           data: [-2],
           coordinateSystem: 'polar',
           name: 'B',
           emphasis: {
               focus: 'series'
           }
       }, {
           type: 'bar',
           data: [-1],
           coordinateSystem: 'polar',
           name: 'C',
           emphasis: {
               focus: 'series'
           }
       }],
       })
   }, 5000);
   ```
   ### What is expected?
   负值应该是0-负值
   ![微信图片_20210409101951](https://user-images.githubusercontent.com/25070589/114119715-c5689980-991d-11eb-92f2-50cf4bf29c21.png)
   
   
   ### What is actually happening?
   在负值渲染后表现为,0-最大值-负值
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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:
users@infra.apache.org



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


[GitHub] [echarts] Ovilia closed issue #14627: 极坐标下负值数据渲染错误

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #14627:
URL: https://github.com/apache/echarts/issues/14627


   


-- 
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-unsubscribe@echarts.apache.org

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



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


[GitHub] [echarts] echarts-bot[bot] commented on issue #14627: 极坐标下负值数据渲染错误

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14627:
URL: https://github.com/apache/echarts/issues/14627#issuecomment-816355206






-- 
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:
users@infra.apache.org



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


[GitHub] [echarts] Ovilia commented on issue #14627: 极坐标下负值数据渲染错误

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #14627:
URL: https://github.com/apache/echarts/issues/14627#issuecomment-938530053


   #15589 已修复,请更新到 5.2.1 及以上版本。


-- 
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-unsubscribe@echarts.apache.org

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



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