Naveenkumarg24 commented on issue #11774: I am using echarts gauge. How to 
remove min & max  values decimals? 
URL: 
https://github.com/apache/incubator-echarts/issues/11774#issuecomment-561144080
 
 
   Hi... I am using echarts gauge in my application. i am struggle in axis 
label issues. i am manually set min value is 1 and max value is 230. the gauge 
chart is populate 10 equal value in axis with decimal values. How to remove 
decimal values?\
   `option = {
       tooltip : {
           formatter: "{a} <br/>{b} : {c}%"
       },
       toolbox: {
           feature: {
               restore: {},
               saveAsImage: {}
           }
       },
       series: [
           {
               name: '业务指标',
               type: 'gauge',
               min:1,
               max:230,
               detail: {formatter:'{value}'},
               data: [{value: 178, name: ''}]
           }
       ]
   };
   
   setInterval(function () {
       option.series[0].data[0].value = 178;
       myChart.setOption(option, true);
   },2000);
   `
   

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


With regards,
Apache Git Services

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

Reply via email to