zteric opened a new issue #10506: The size of Gauge chart can not fit to the 
edge after changing startAngle and endAngle
URL: https://github.com/apache/incubator-echarts/issues/10506
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   1.setup a gauge chart;
   
   2.change startAngle = 180 and endAgle=0;
   
   3.there are only top half of the panel was filled, the bottom half is empty.
   
   Pls advise how to prevent this from happening if possible.
   
   ### What is expected?
   Gauge chart should get displayed in the middle(vertical) of the panel 
instead of showing at the top only.
   
   ### What is actually happening?
   gauge chart only shows at the top of the panel and the bottom part is empty.
   
   ---
   sample option:
   option = {
       tooltip : {
           formatter: "{a} <br/>{b} : {c}%"
       },
       toolbox: {
           feature: {
               restore: {},
               saveAsImage: {}
           }
       },
       series: [
           {
               name: '业务指标',
               startAngle:180,
               endAngle:0,
               type: 'gauge',
               detail: {
                   formatter:'{value}%',
                   offsetCenter:[0,"-30%"]
               },
               data: [{value: 50, name: '完成率'}]
           }
       ]
   };
   
   <!-- 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]


With regards,
Apache Git Services

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

Reply via email to