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:
[email protected]



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

Reply via email to