You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "flywin8 (via GitHub)" <gi...@apache.org> on 2023/12/20 08:47:56 UTC

[I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

flywin8 opened a new issue, #19425:
URL: https://github.com/apache/echarts/issues/19425

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   无
   
   ### Steps to Reproduce
   
   ```
   option = {
     tooltip: {
       formatter: '{a} <br/>{b} : {c}%'
     },
     series: [
       {
         name: 'Pressure',
         type: 'gauge',
         progress: {
           show: true
         },
         axisLabel:{
           padding:[10,0,0,0],
         },
         detail: {
           valueAnimation: true,
           formatter: '{value}'
         },
         data: [
           {
             value: 50,
             name: 'SCORE'
           }
         ]
       }
     ]
   };
   ```
   
   ### Current Behavior
   
   无
   
   ### Expected Behavior
   
   目前希望只显示最小值和最大值,并且显示在仪表盘半环开始和结束位置正下方,而不是环内
   
   ### Environment
   
   ```markdown
   - OS: windows
   - Browser: EDGE
   - Framework: 5.4.3
   ```
   
   
   ### Any additional comments?
   
   _No response_


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #19425:
URL: https://github.com/apache/echarts/issues/19425#issuecomment-1864082141

   @flywin8 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] Setting the padding of axisLabel in the gauge chart is invalid, but it is valid in version 4.x.
   
   **BODY**
   
   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   not
   
   ### Steps to Reproduce
   
   ```
   option = {
     tooltip: {
       formatter: '{a} <br/>{b} : {c}%'
     },
     series: [
       {
         name: 'Pressure',
         type: 'gauge',
         progress: {
           show: true
         },
         axisLabel:{
           padding:[10,0,0,0],
         },
         detail: {
           valueAnimation: true,
           formatter: '{value}'
         },
         data: [
           {
             value: 50,
             name: 'SCORE'
           }
         ]
       }
     ]
   };
   ```
   
   ### Current Behavior
   
   not
   
   ### Expected Behavior
   
   Currently, you want to display only the minimum and maximum values, and just below the start and end positions of the dashboard half-ring, rather than inside the ring
   
   ### Environment
   
   ```markdown
   - OS: windows
   - Browser: EDGE
   - Framework: 5.4.3
   ```
   
   ### Any additional comments?
   
   _No response_
   </details>


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19425:
URL: https://github.com/apache/echarts/issues/19425#issuecomment-3694224367

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19425:
URL: https://github.com/apache/echarts/issues/19425#issuecomment-1866821854

   not-a-bug
   [your code in v.4.8.0](https://echarts.apache.org/examples/en/editor.html?version=4.8.0&code=PYBwLglsB2AEC8sDeBYAULWZjADaRAC5l1NMAzYAJwFsBDMMAUyuIHIk6BfWAHgCMqAegB8Sfj2JIAxlwCkbUrC4AaJQGcWEJuuIBtJZlQYymaHRpN2ABSo71AVzts1J02ACeIK7DYBzOgc_JhdDMhAqYD87dV0SN1NYdQALYAB3YjAqByYwzFU82DoADwh1ABk6fiZcQmNE8LoAEyaIaD9CPQBGAAYVPoGAXVcGgoTMJqYwOgha-IbMADc6XByAQWgIekgYTOymEYXKWgZmVl8kZdWmLkVx5UPTJoY6fUKjd7IrnOIAVj7PmYLD42ABlADCAHkAEoAUTuC2UhUGYS4ShRaC4AG4gA) does not accomplish the effect desired. Padding works, but is not the right tool.
   Here is a [solution](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmurAGbABOAtgIZhgCmFhA5EjQL6wA8ARhQHoAfEl5dCSAMYcApC2IcANMQDOTCAxWEA2sXSoSJaDSoNWABQqaVAVystlh9GACeIM7BYBzGja8MHPRIQCmAvKxUtZFgVAAtgAHdCMAobBkVYBIgAEzBY_AAmAtglIPQQYAhoRmZouMTCUhpsNRLHJxoADwgVABUISQBrCXqksma1UqcYkGwIMAAZKo8kUcaJhimnFVn5gDkbKl4mQgBGdsMVMBoKMABBaC9sD1OADgAGC5IGaGyHp48nzKsGyDGuEGwElgwFIpDUYAAwj8ajpPrB3gBdNrA7J0Gg6JCwABuzTShFerxKGOUwK6PQWNGOkKI03Q2R612gkg8AFoil9DHNoAwABIMCBeWJgcmvAUkcjUOgosg2LmQGCwAAUJOwaQAlCzWegrGA7HA2F0dQAfFiwADUxNJDHtng4LAA3MD0FtphQBvlDUbLc0JF6nORqgBlCAALw8BVlYcMEbAAHVxZLpZ4ACzvd6BI2GSQ4SisKzZAuF9BEpiQSTNO5zLzQVi8YD0YBUBywJMlMMcYEDwxD2AYlAcd1AA).
   ![image](https://github.com/apache/echarts/assets/13038071/79c16703-e65c-4d55-b8b9-1cf965afd6aa)
   
   📌 please close issue if problem solved.


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19425: [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的
URL: https://github.com/apache/echarts/issues/19425


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "flywin8 (via GitHub)" <gi...@apache.org>.
flywin8 commented on issue #19425:
URL: https://github.com/apache/echarts/issues/19425#issuecomment-1864083961

   ![image](https://github.com/apache/echarts/assets/13073744/9b5a9457-ee67-49b7-8771-e530e3306c53)
   希望实现这种效果


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


Re: [I] [Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19425:
URL: https://github.com/apache/echarts/issues/19425#issuecomment-3678118604

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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