SwanLab icon indicating copy to clipboard operation
SwanLab copied to clipboard

[BUG] 折线图在数据量较大、降采样时出现比较明显的断连

Open SAKURA-CAT opened this issue 1 year ago • 0 comments

🐛 Bug description [Please make everyone to understand it]

如题,由于 G2Plot折线图在线性x轴模式,且数据量较大时降采样会导致每个step之间距离加大,这样会出现比较明显的断连问题,这在后面有视频演示。 这大概是这个图表库本身的问题,后续考虑寻找方法解决,或寻找新的折线图方案。

🧑‍💻 Step to reproduce

https://github.com/SwanHubX/SwanLab/assets/79990647/96063399-bbd6-41f7-b868-3457e78bba24

可以看见上述折线图的tooltip出现了闪烁问题,但是在数据量较少时不会出现此问题:

https://github.com/SwanHubX/SwanLab/assets/79990647/8e9e4d7a-64c1-42c4-b2e1-40d7b862217c

SAKURA-CAT avatar Apr 14 '24 12:04 SAKURA-CAT