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 2020/05/28 08:44:06 UTC

[GitHub] [incubator-echarts] cysgbrlc opened a new issue #12711: 极坐标系大小改变后坐标轴消失

cysgbrlc opened a new issue #12711:
URL: https://github.com/apache/incubator-echarts/issues/12711


   ### Version
   4.8.0
   
   ### Steps to reproduce
   option = {
     "angleAxis": {
       "type": "value",
       "show": true,
       "startAngle": 90,
       "axisLine": {
         "lineStyle": {
           "color": "rgb(0, 0, 0)",
           "width": "1"
         }
       },
       "axisLabel": {
         "fontSize": "12"
       },
       "splitLine": {
         "lineStyle": {},
         "show": false
       }
     },
     "radiusAxis": {
       "type": "category",
       "data": [
         "田谙",
         "吕欢悦",
         "冯丽丽",
         "周诚",
         "彭博",
         "刘明",
         "廖保",
         "佘凤",
         "彭伟",
         "邓惠"
       ],
       "z": 10,
       "show": true,
       "axisLine": {
         "lineStyle": {
           "color": "rgb(0, 0, 0)",
           "width": "1"
         }
       },
       "axisLabel": {
         "interval": 0,
         "rotate": 0,
         "fontSize": "12"
       },
       "splitLine": {
         "lineStyle": {
           "color": "rgb(204, 204, 204)",
           "width": "1",
           "type": "solid"
         },
         "show": true
       }
     },
     "polar": {
       "radius": "75%"
     },
     "series": [
       {
         "type": "bar",
         "coordinateSystem": "polar",
         "data": [
           23,
           21,
           20,
           20,
           20,
           19,
           19,
           18,
           18,
           18
         ],
         "stack": "sum",
         "itemStyle": {
           "normal": {
             "color": "#3155FD"
           }
         },
         "label": {
           "normal": {
             "show": false,
             "fontSize": 12,
             "position": "outside",
             "mode": "all"
           }
         }
       },
      
     ],
     
    
   };
   
   ### What is expected?
   希望两个轴都出现网格线
   
   ### What is actually happening?
   径向轴消失 (如果上述代码没有出现这个问题,可以修改radius的大小,无论是Number类型还是百分比,都会出现这个问题,但是每次出现的时候radius的值可能不一样)
   报错内容:Uncaught DOMException: Failed to execute 'arc' on 'CanvasRenderingContext2D': The radius provided (-1.77636e-15) is negative.
   
   <!-- 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] [incubator-echarts] echarts-bot[bot] commented on issue #12711: 极坐标系大小改变后坐标轴消失

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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] [incubator-echarts] susiwen8 commented on issue #12711: 极坐标系大小改变后坐标轴消失

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #12711:
URL: https://github.com/apache/incubator-echarts/issues/12711#issuecomment-636315112


   https://github.com/apache/incubator-echarts/blob/master/src/coord/Axis.js#L341
   
   Calculate tick position(coord) might get negative value


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