This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[问题]可视化叙事能做成动态排序柱状图吗 #4732
Comments
你好,可以参考这个例子 https://observablehq.com/d/e7d1be636e9f1b98 |
@Aarebecca 直接官网 demo 中提供一些案例吧,柱形图、散点图~ |
嗯嗯,后面会在官网案例中添加 |
试了下有两个不明白的地方想请教一下, 可以看到左边三四的位置交换但是颜色没有变化 QQ20230308-172232-HD.mp4 |
我发现之前的这个issue #3612 里提到的,相同的城市颜色相同,但是官网的demo城市排名改变之后,城市对应的颜色也改变了。而颜色列表一直是按顺序来的,没有发生变化,可以观察一下前面的颜色一直没变 https://antv-g2.gitee.io/zh/examples/case/dynamic#dynamic-bar QQ20230309-114030-HD.mp4 |
|
感谢回复,5.x的版本根据您的提示颜色映射已经实现了,但是有两个小问题,一个是使用 timingKeyframe 后padding失效了,也找不到appendPadding,官网可以复现 。另外一个是页面尺寸改变的时候会有异常抖动 QQ20230309-181225-HD.mp4 |
|
keyframe.interval().attr('paddingLeft', 60) 有效了。另外autoFit去掉确实没有问题,但是4.x版本的resize的时候是正常的,不过大部分情况应该不影响使用,感谢🙏 |
嗯嗯,resize 这个问题确实还是需要解决一下,这个确实也复现了 @Aarebecca |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
关键帧动画可以做成 动态排序柱状图 的效果吗,还是要等时序动画出来才可以
The text was updated successfully, but these errors were encountered: