G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

🐛 [BUG] Pie Chart Broken animations when pass start/end angle

Open mix0000 opened this issue 3 years ago • 0 comments

🐛 Broken Animation when pass start/end angle in Pie Chart

Required Link to minimal reproduction: https://codesandbox.io/s/hopeful-feynman-6twwk8?file=/index.js

📷 Step to reproduce

Just add startAngle and endAngle to Pie Chart then update data, you will see the broken animations when data is changing

{
  startAngle: degreeToRadian(0),
  endAngle: degreeToRadian(360)
}

🏞 Expected result

Animation when data is change have to bee smooth and correct

📷 GIF

gif

mix0000 avatar May 26 '22 13:05 mix0000