antvis / antvis/G2Plot

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

Open
#3,226 0 comments 1 reaction 1 assignee Claimed by @ai-qing-hai View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 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
```javascript
{
startAngle: degreeToRadian(0),
endAngle: degreeToRadian(360)
}
```

### 🏞 Expected result
Animation when data is change have to bee smooth and correct

### 📷 GIF
![gif](https://imgur.com/NkgKPiB.gif)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.