G2Plot
G2Plot copied to clipboard
🐛 [BUG] 基础柱状图tooltip位置出现错乱
🐛 Bug description
在示例中,将鼠标移至 z 轴 39 后面的数据,tooltip 都会出现错乱,柱高亮背景也不对。 https://codesandbox.io/s/vigorous-resonance-1opbmw?file=/index.ts
📷 Step to reproduce
显而易见
🏞 Expected result
没有错乱
🚑 Any additional
- G2Plot Version: 2.4.25
- Platform:
我也遇到这个问题,但看到官方demo用最新版本的库都没问题后,我研究了下,发现其实是不支持x轴的值为number类型。你把x轴指向的字段的值,改为string类型应该就没问题了。是个临时解决方案。