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/13 06:40:11 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17363: [Bug] echarts xAxis.axisLabel 配置, 缺少官方文档描述的 overflow 属性.

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

   @halo951 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] echarts xAxis.axisLabel configuration, missing overflow property described in official documentation.
   
   **BODY**
   
   ### Version
   
   e.g. 5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. In the description of the axiosLabel configuration item document, the `overflow` configuration item is included, but in the latest e.g. 5.3.3 version, the declaration file lacks the `overflow` configuration item.
   2. The test found that the function may be removed. I hope the official will confirm it greatly.
   
   doc link: https://echarts.apache.org/en/option.html#xAxis.axisLabel.overflow
   interface:
   ````
   interface AxisLabelBaseOption extends Omit<TextCommonOption, 'color'> {
       show?: boolean;
       inside?: boolean;
       rotate?: number;
       showMinLabel?: boolean;
       showMaxLabel?: boolean;
       margin?: number;
       rich?: Dictionary<TextCommonOption>;
       /**
        * If hide overlapping labels.
        */
       hideOverlap?: boolean;
       color?: ColorString | ((value?: string | number, index?: number) => ColorString);
   }
   ````
   
   
   ### Current Behavior
   
   Due to the lack of overflow, the x-axis axisLabel cannot configure automatic clipping of super-long strings.
   
   ### Expected Behavior
   
   1. If this feature is removed, please update the documentation.
   2. If this function is reserved, please check if this problem needs to be fixed.
   
   ### Environment
   
   ````markdown
   - OS: Windows 10
   - Browser: Chrome/103.0.0.0
   - Framework: Vue@2.x
   ````
   
   
   ### 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