S2 icon indicating copy to clipboard operation
S2 copied to clipboard

🐛透视组合图 显示错乱

Open yuanyongbin321 opened this issue 1 year ago • 7 comments

🏷 Version

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

Sheet Type

  • [ ] PivotSheet
  • [ ] TableSheet
  • [ ] GridAnalysisSheet
  • [ ] StrategySheet
  • [ ] EditableSheet
  • [x] 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)

yuanyongbin321 avatar Dec 12 '24 08:12 yuanyongbin321

你好 @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.

github-actions[bot] avatar Dec 16 '24 02:12 github-actions[bot]

你好 @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.

github-actions[bot] avatar Dec 17 '24 09:12 github-actions[bot]

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

wjgogogo avatar Dec 17 '24 09:12 wjgogogo

@interstellarmt 本地调试看看

lxfu1 avatar Dec 17 '24 10:12 lxfu1

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

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

lxfu1 avatar Dec 17 '24 13:12 lxfu1

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

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

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

wjgogogo avatar Dec 18 '24 10:12 wjgogogo

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

interstellarmt avatar Dec 26 '24 08:12 interstellarmt