Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【柱状图/折线图】当x轴是日期类型,某些label不显示 #5747

Closed
May-yfm opened this issue Nov 6, 2023 · 2 comments
Closed

Comments

@May-yfm
Copy link

May-yfm commented Nov 6, 2023

问题描述

柱状图、条形图、折线图都遇到此问题,当x轴是日期类型,Axis的某些label缺失

重现链接

No response

重现步骤

  1. g2 v4版本
  2. https://g2-v4.antv.vision/zh/examples/case/column#column2
    以官网柱状图为例,修改数据为11位日期格式,Axis的某些Label不显示
  3. 查看附件图片

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

bug01
bug02

补充说明(可选)

No response

@hustcc
Copy link
Member

hustcc commented Nov 13, 2023

代码贴一下,不要截图。

@pearmini
Copy link
Member

这个应该是 label layout 导致的,关闭一下 hideOverlap

@antvis antvis locked and limited conversation to collaborators Nov 28, 2023
@pearmini pearmini converted this issue into discussion #5851 Nov 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants