4.x版本如何在PC端实现demo中柱状图平移效果
leegsen7 opened this issue · comments
- F2 Version: v4.0.26
- Platform: mac chrome
- Mini Showcase(like screenshots):
- CodeSandbox Link: https://codesandbox.io/p/sandbox/bold-sky-6y6n9l
将官网中的demo拷贝运行,图表是无法平移的。
@tangying1027 @zengyue 帮忙解答下问题🙏🏻
从网站文档源码中翻到了一段神秘js代码,再增加jquery依赖即可
https://github.com/antvis/F2/blob/3.8.11/demos/0-interacion-pan-timecat.html#L16