Skip to content

Conversation

@gibson042
Copy link
Contributor

Fixes #10801

The root cause was bad behavior when floating-point arithmetic just pushed a single slice into self-overlap territory and drawFullCircleBorders does not account for offset like pathArc does, resulting in borders drawn in the wrong location. This PR updates drawBorder to rely on pathArc instead, although I suspect further improvements could fully unify everything and draw arcs and borders together.

@kurkle kurkle added this to the Version 4.0 milestone Nov 12, 2022
@kurkle kurkle merged commit 8948750 into chartjs:master Nov 12, 2022
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.

Pie Chart hoverOffset bugs on a specific value

4 participants