G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

子弹图changeData时,特殊情况下rangeField的label超出绘制区域导致看不见🐛 [BUG]

Open greateidea opened this issue 2 years ago • 0 comments

🐛 Bug description

link: https://codesandbox.io/s/elastic-tereshkova-3cpwlw?file=/index.ts

📷 Step to reproduce and screenshots

前后两次changeData时,targetField的值一样,且前一次rangeField内的值为0, 后一次rangeField的值显示超出了绘制区域,需要更大的padding才能露出来。

2951655192935_ pic

2961655193042_ pic

🏞 Expected result

  • G2Plot Version: 2.4.19
  • Platform:

greateidea avatar Jun 14 '22 08:06 greateidea