Skip to content

Conversation

@kurkle
Copy link
Member

@kurkle kurkle commented May 18, 2021

Fix #9117

The error occurs because some float error:
6.283185307179585 actual circumference
6.283185307179586 2xPI

startAngle and endAngle are however equal.

@etimberg etimberg added this to the Version 3.3 milestone May 18, 2021
@etimberg etimberg merged commit a553d57 into chartjs:master May 18, 2021
@kurkle kurkle deleted the doughnut-rotation branch May 30, 2021 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doughnut appears broken when rotation equals some values. (300, 310, 320, 330, 333)

2 participants