antvis/G6

如何保证新增的数据渲染时始终在当前视口的中心位置 #4160

songxiaoyu321 posted onGitHub

问题描述

1.前置:只有点,没有边 2.渲染点出的多个点布局大概是个圆形(我用gForce配置实现) 3.我的问题来了,第一次接口请求数据渲染图后,图是在当前屏幕的中心位置,这时候我拖拽画布到一个空白位置,如何让第二次接口请求的数据渲染到新的屏幕中心,旧的点维持位置不变

重现链接

重现步骤

预期行为

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [4.5.1 ... ]

屏幕截图或视频(可选)

WechatIMG1

补充说明(可选)

No response


This issue has been closed because it has been outdate for a long time. Please open a new issue if you still need help.

这个 issue 已经被关闭,因为 它已经过期很久了。 如果你仍然需要帮助,请创建一个新的 issue。

posted by github-actions[bot] 11 months ago

Fund this Issue

$0.00
Funded

Pull requests