Skip to content
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

🐛 [BUG]g2plot 2.x 气泡图 ,当数据只有一条时,并且 x轴的 type === cat 时,不展示,数据两条及以上就可以显示 #2651

Closed
rabbit-tian opened this issue Jun 21, 2021 · 0 comments · Fixed by #2661
Labels
Bug Something isn't working

Comments

@rabbit-tian
Copy link

rabbit-tian commented Jun 21, 2021

当数据是两条及以上时,是可以显示的,只有一条的时候不显示
image
image

🐛 Bug description [Please make everyone to understand it]

💻 Link to minimal reproduction

复现地址:https://codesandbox.io/s/old-night-gq1w2?file=/index.ts

🚑 Any additional [like screenshots]

  • G2Plot Version: 2.3.23
  • Platform: g2plot 2. x
@rabbit-tian rabbit-tian added the Bug Something isn't working label Jun 21, 2021
visiky pushed a commit that referenced this issue Jun 29, 2021
* fix(#2651): when scatter data length = 1 and x is cat

* chore: destroy after test

* chore: remove unused code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant