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/27 08:24:28 UTC

[GitHub] [echarts] songyule opened a new issue, #17433: [Discuss] 为什么v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了

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

   ### Version
   
   5.x
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   参考官网demo: https://echarts.apache.org/examples/zh/editor.html?c=line-simple
   
   ### Current Behavior
   
   v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了
   ![Uploading image.png…]()
   
   
   ### Expected Behavior
   
   ![image](https://user-images.githubusercontent.com/23656890/181198646-2ec8c217-6142-4018-998d-102954fe0819.png)
   
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   看了升级文档没有提到这一点,看了代码发现当axis.show = 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.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] plainheart closed issue #17433: [Discuss] 为什么v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #17433: [Discuss] 为什么v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了
URL: https://github.com/apache/echarts/issues/17433


-- 
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 #17433: [Discuss] 为什么v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了

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

   @songyule 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**
   
   [Discuss] Why does yAxisLine disappear after xAxis.type = category after v4 upgrade to v5 version
   
   **BODY**
   
   ### Version
   
   5.x
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   Refer to the official website demo: https://echarts.apache.org/examples/zh/editor.html?c=line-simple
   
   ### Current Behavior
   
   v4 after upgrading the v5 version, yAxisLine disappeared after xAxis.type = category
   ![Uploading image.png...]()
   
   ### Expected Behavior
   
   ![image](https://user-images.githubusercontent.com/23656890/181198646-2ec8c217-6142-4018-998d-102954fe0819.png)
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   Looking at the upgrade documentation without mentioning this, looking at the code found that when axis.show = auto will be hidden, what is the reason for this design
   </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


[GitHub] [echarts] plainheart commented on issue #17433: [Discuss] 为什么v4升级v5版本后yAxisLine在xAxis.type = category 后就消失了

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17433:
URL: https://github.com/apache/echarts/issues/17433#issuecomment-1196430540

   默认隐藏 Y 轴轴线是 ECharts 5 的样式设计使然,开发者需要手动设置 `axisLine: { show: true }` 来使 Y 轴线显示。参见 [ECharts 5 发布会文字教程](https://zhuanlan.zhihu.com/p/348799432#:~:text=%E5%9B%A0%E6%AD%A4%E6%88%91%E4%BB%AC%E5%81%9A%E7%9A%84%E6%AF%94%E8%BE%83%E7%9B%B4%E8%A7%82%E7%9A%84%E4%B8%80%E4%B8%AA%E6%94%B9%E5%8F%98%E5%B0%B1%E6%98%AF%E5%8E%BB%E6%8E%89%E4%BA%86%E7%9B%B4%E8%A7%92%E5%9D%90%E6%A0%87%E7%B3%BB%E6%9C%80%E5%B7%A6%E4%BE%A7%E6%95%B0%E6%8D%AE%E8%BD%B4Y%E8%BD%B4%E7%9A%84%E9%BB%98%E8%AE%A4%E6%98%BE%E7%A4%BA%EF%BC%8C%E5%B8%8C%E6%9C%9B%E9%80%9A%E8%BF%87%E5%87%8F%E5%B0%91%E4%B8%8D%E5%BF%85%E8%A6%81%E7%9A%84%E5%9B%BE%E5%BD%A2%E5%85%83%E7%B4%A0%EF%BC%8C%E6%9D%A5%E8%BE%BE%E5%88%B0%E6%9B%B4%E6%B8%85%E6%99%B0%E5%9C%B0%E4%BC%A0%E9%80%92%E4%BF%A1%E6%81%AF%E7%9A%84%E7%9B%AE%E7%9A%84%E3%80%82)


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