G2Plot
G2Plot copied to clipboard
子弹图changeData时,特殊情况下rangeField的label超出绘制区域导致看不见🐛 [BUG]
🐛 Bug description
link: https://codesandbox.io/s/elastic-tereshkova-3cpwlw?file=/index.ts
📷 Step to reproduce and screenshots
前后两次changeData时,targetField的值一样,且前一次rangeField内的值为0, 后一次rangeField的值显示超出了绘制区域,需要更大的padding才能露出来。
🏞 Expected result
- G2Plot Version: 2.4.19
- Platform: