SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 80 JavaScript

Only rotate label while rotation is < maxRotation

Checking for <= maxRotation results in a labelRotation of 1 if maxRotation is 0, which doesn't make any sense (and also causes the text to be right aligned not centred)
B
Ben Woodford committed
d7ab51f29b933659ca2058110e35219d3d002068
Parent: 36493e0