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/08/30 05:41:25 UTC

[GitHub] [echarts] xuxiujuan opened a new issue #15624: 仪表盘 axisLabel distance为负数时,label到轴的距离不一致

xuxiujuan opened a new issue #15624:
URL: https://github.com/apache/echarts/issues/15624


   ### Version
   5.1.2
   
   ### Steps to reproduce
   option = {
       series: [{
           name: 'Pressure',
           type: 'gauge',
           startAngle: 180,
           endAngle: 0,
           max: 1000,
           axisTick: {
               distance: -25,
               splitNumber: 5
           },
           splitLine: {
               distance: -25,
               length: 14
           },
           axisLabel: {
               distance: -40,
               color: '#999',
               fontSize: 20
           },
           data: [{
               value: 150,
               name: 'SCORE'
           }]
       }]
   };
   
   ### What is expected?
   axisLabel为负数时, 到轴的距离一致
   
   ### What is actually happening?
   左侧最小数值label距离轴线距离较远
   右侧最大数值label距离轴线距离较近
   
   
   <!-- 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.

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 #15624: 仪表盘 axisLabel distance为负数时,label到轴的距离不一致

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


   This issue is labeled with `difficulty: easy`.
   @xuxiujuan Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
   
   Please have a look at [How to debug ECharts](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md#how-to-debug-echarts) if you'd like to give a try. 🤓


-- 
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 #15624: 仪表盘 axisLabel distance为负数时,label到轴的距离不一致

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






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