G2 icon indicating copy to clipboard operation
G2 copied to clipboard

[Bug]: 环状图筛选数据的动画异常

Open Chemical-Romance opened this issue 9 months ago • 6 comments

Describe the bug / 问题描述

当隐藏 示例1 时,动画效果异常。截图如下:

Image

隐藏 示例2/3 等也会出现轻微异常

Reproduction link / 复现链接

https://g2.antv.antgroup.com/examples/general/pie/#donut-base

Steps to Reproduce the Bug or Issue / 重现步骤

官方示例可重现: https://g2.antv.antgroup.com/examples/general/pie/#donut-base 点击 “示例1”

Version / 版本

AntV 5.3 G2图表

OS / 操作系统

  • [ ] macOS
  • [x] Windows
  • [ ] Linux
  • [ ] Others / 其他

Browser / 浏览器

  • [x] Chrome
  • [ ] Edge
  • [ ] Firefox
  • [ ] Safari (Limited support / 有限支持)
  • [ ] IE (Nonsupport / 不支持)
  • [ ] Others / 其他

Chemical-Romance avatar Apr 17 '25 02:04 Chemical-Romance

所以说的异常其实是指动画变化过程中,展示不够丝滑是吧,我看动画开始和结束的形态是没问题的

interstellarmt avatar Apr 17 '25 03:04 interstellarmt

所以说的异常其实是指动画变化过程中,展示不够丝滑是吧,我看动画开始和结束的形态是没问题的

没错,动画过程中的形态是扭曲的。孟宸说是legend筛选导致resize错位导致的,希望可以完善一下。

btw 之前4.x版本是没有这个问题的,升级到5.x出现

Chemical-Romance avatar Apr 23 '25 09:04 Chemical-Romance

应该是默认动画变了,可以手动配置一下你想要的动画效果 https://g2.antv.antgroup.com/manual/core/animate/overview

interstellarmt avatar Apr 28 '25 09:04 interstellarmt

⚠️ This issue has been automatically closed due to inactivity.

  • If the issue is still relevant and important to you, feel free to:
    1. Reopen with additional information
    2. Create a new issue with updated context
    3. Reference any related issues or discussions

We close inactive issues to keep our backlog manageable and focused on active issues.

Your contribution makes our project better! 🌟


⚠️ 由于长期无活动,此 issue 已被自动关闭。

  • 如果这个问题对您来说仍然重要,您可以:
    1. 重新打开并提供补充信息
    2. 创建一个新的 issue 并更新相关背景
    3. 关联相关的 issue 或讨论

为了更好地维护项目,我们需要定期清理不活跃的问题。

感谢您为开源添砖加瓦!🌟

github-actions[bot] avatar May 05 '25 12:05 github-actions[bot]

应该是默认动画变了,可以手动配置一下你想要的动画效果 https://g2.antv.antgroup.com/manual/core/animate/overview

确实是,调成waveIn动画就正常了

Chemical-Romance avatar May 07 '25 02:05 Chemical-Romance

@interstellarmt 看看我们能不能把一些默认配置按照图表来?昨天我也提了一个词云图 tooltip 的问题,也是词云图的特殊配置。

hustcc avatar May 07 '25 03:05 hustcc