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] percent: false 会影响 stack: true, 导致无法正常堆叠 #2456

Closed
2013xile opened this issue Mar 16, 2024 · 0 comments · Fixed by #2466
Closed

🐛[BUG] percent: false 会影响 stack: true, 导致无法正常堆叠 #2456

2013xile opened this issue Mar 16, 2024 · 0 comments · Fixed by #2466

Comments

@2013xile
Copy link

🐛 bug 描述 [详细地描述 bug,让大家都能理解]

配置 stack: true 的同时配置 percent: false, 会导致无法正常堆叠

📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]

image image

🏞 期望结果 [描述你原本期望看到的结果]

设置 percent: true 默认开启堆叠是合理的。
但是设置 percent: false 不应该影响堆叠效果。

💻 复现代码 [提供可复现的代码,仓库,或线上示例]

https://ant-design-charts-next.antgroup.com/examples/statistics/column/#stacked

© 版本信息

  • ant-design-charts 版本: [e.g. 0.9.0]

2.1.4

  • 浏览器环境

Chrome Version 122.0.6261.112 (Official Build) (arm64)

  • 开发环境 [e.g. mac OS]

mac OS

🚑 其他信息 [如截图等其他信息可以贴在这里]

@lxfu1 lxfu1 mentioned this issue Mar 20, 2024
@lxfu1 lxfu1 closed this as completed Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants