G2
G2 copied to clipboard
View 中的 annotation().regionFilter() 在 brush-x 交互后不会重绘
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
- 创建 Chart
- 在 chart 上创建 view
- 绘图,并在 view 上创建 regiionFilter
- 给 view 加入 brush-x 交互
- 框选视图,视图重绘, annotation 丢失
| Environment | Info |
|---|---|
| g2 | 4.1.37 |
| System | macOS |
| Browser | Chrome |
我提交的 Issue 里有 Demo:https://codesandbox.io/embed/epic-colden-t9zwi?fontsize=14&hidenavigation=1&theme=dark 我没有使用根 chart 绘制 annotation