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/07/19 02:10:39 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17397: [Bug] 坐标轴名称的overflow属性不生效

echarts-bot[bot] commented on issue #17397:
URL: https://github.com/apache/echarts/issues/17397#issuecomment-1188516892

   @asctrl 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**
   
   The overflow property of the [Bug] axis name does not take effect
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   The configuration is as follows:
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value',
       name:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
       nameTextStyle: {
         width: 20,
         overflow: 'truncate'
       }
     },
     series: [
       {
         data: [120, 200, 150, 80, 70, 110, 130],
         type: 'bar'
       }
     ]
   };
   
   ### Current Behavior
   
   The y-axis name is not truncated
   
   ### Expected Behavior
   
   The y-axis name is truncated by width and omitted
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### 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