Expected Behavior
Should be able to rotate Doughnut for any amount
Current Behavior
When rotation equals 300, 310, 320, 330, or 333, doughnut appears broken as if zoomed in. Any other value appears to work, including multiples of said values.
Steps to Reproduce
Can be reproduced within documentation example, by adding rotation to the config.
const config = {
type: 'doughnut',
data: data,
options: {
rotation: 300
}
};
Current workaround is to add a small value to every rotation amount, i.e. rotation: 300.00000001
Update
- While
rotation: 301 works, rotation: 301.01 does not.
- This behavior is also observed in the Pie Chart