We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1b9b6 commit b70bfb6Copy full SHA for b70bfb6
1 file changed
src/traces/pie/plot.js
@@ -1133,11 +1133,7 @@ function computeTransform(
1133
transform, // inout
1134
textBB // in
1135
) {
1136
- var rotate = transform.rotate;
1137
- var scale = transform.scale;
1138
- if(scale > 1) scale = 1;
1139
-
1140
- var a = rotate * Math.PI / 180;
+ var a = transform.rotate * Math.PI / 180;
1141
var cosA = Math.cos(a);
1142
var sinA = Math.sin(a);
1143
var midX = (textBB.left + textBB.right) / 2;
0 commit comments