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 2022/02/24 03:36:47 UTC

[GitHub] [echarts] JianbinWei opened a new issue #16571: [Feature] x轴的axisLabel可以跟随axisLine更新

JianbinWei opened a new issue #16571:
URL: https://github.com/apache/echarts/issues/16571


   ### What problem does this feature solve?
   
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value',
       max: 500,
       min: -500
     },
     series: [
       {
         data: [150, 230, 224, 218, 135, 147, 260],
         type: 'line'
       }
     ]
   };
   
    根据上述代码运行图示,x轴的axisLabel不只是放置在grid下方,可以跟随 axisLine上下更新。
   
   ### What does the proposed API look like?
   
   axisLabel: {
     position: 'auto'
   }


-- 
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 #16571: [Feature] x轴的axisLabel可以跟随axisLine更新

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


   @JianbinWei 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**
   
   [Feature] The axisLabel of the x-axis can be updated with the axisLine
   
   **BODY**
   
   ### What problem does this feature solve?
   
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value',
       max: 500,
       min: -500
     },
     series: [
       {
         data: [150, 230, 224, 218, 135, 147, 260],
         type: 'line'
       }
     ]
   };
   
    Running the diagram according to the above code, the axisLabel of the x-axis is not only placed below the grid, but can be updated up and down following the axisLine.
   
   ### What does the proposed API look like?
   
   axisLabel: {
     position: 'auto'
   }
   </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