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

🐛透视组合图 显示错乱 #3036

Open
1 of 6 tasks
yuanyongbin321 opened this issue Dec 12, 2024 · 7 comments
Open
1 of 6 tasks

🐛透视组合图 显示错乱 #3036

yuanyongbin321 opened this issue Dec 12, 2024 · 7 comments
Assignees
Labels
🐛 bug 这个是一个 bug G 底层渲染引擎 AntV/G 的问题

Comments

@yuanyongbin321
Copy link

yuanyongbin321 commented Dec 12, 2024

🏷 Version

Package Version
@antv/s2 2.1.1
@antv/s2-react -
@antv/s2-vue -

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet
  • PivotChartSheet

🖋 Description

在使用透视组合图的的时候会出现 柱状图显示错乱的情况,如图所示:
image
正确的结果应该是这样的, 如图所示:
image

⌨️ Code Snapshots

🔗 Reproduce Link

codesandbox

🤔 Steps to Reproduce

删除图中的红框选中的数据或者把 number 修改为 0、null、undefined 都可以复现。
image

😊 Expected Behavior

如图所示:
image

image

😅 Current Behavior

image

💻 System information

Environment Info
System Mac OS 14.1.1
Browser chrome: 131.0.6778.109(正式版本) (arm64)
@lijinke666 lijinke666 assigned lijinke666 and wjgogogo and unassigned lijinke666 Dec 13, 2024
@wjgogogo wjgogogo added the 🐛 bug 这个是一个 bug label Dec 16, 2024
Copy link
Contributor

你好 @yuanyongbin321,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @yuanyongbin321, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@wjgogogo wjgogogo added the G 底层渲染引擎 AntV/G 的问题 label Dec 17, 2024
Copy link
Contributor

你好 @yuanyongbin321,这个属于底层渲染引擎 AntV/G 的问题, 需要等待底层支持或修复后, 上层才能适配, 请耐心等待, 感谢你的理解。

Hello, @yuanyongbin321, This belongs to the underlying rendering engine AntV/G (https://g.antv.antgroup.com/), needs to wait for the underlying support or after repair, the upper can adapter, please wait patiently, thank you for your understanding.

@wjgogogo
Copy link
Contributor

image传递给 g2 那一层的坐标是正确的,g2 那一层的绘制有问题。

@lxfu1
Copy link
Member

lxfu1 commented Dec 17, 2024

@interstellarmt 本地调试看看

@lxfu1
Copy link
Member

lxfu1 commented Dec 17, 2024

image传递给 g2 那一层的坐标是正确的,g2 那一层的绘制有问题。

提供个 G2 的复现吧,没法调试~~

@wjgogogo
Copy link
Contributor

image传递给 g2 那一层的坐标是正确的,g2 那一层的绘制有问题。

提供个 G2 的复现吧,没法调试~~

https://codesandbox.io/p/sandbox/gmycny

@interstellarmt
Copy link

这里bbox已经偏移了,不用再映射linear了吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug G 底层渲染引擎 AntV/G 的问题
Projects
None yet
Development

No branches or pull requests

5 participants