We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5100365 commit 2965494Copy full SHA for 2965494
shelly/plotlyjs/static/plotlyjs/src/pie.js
@@ -122,8 +122,8 @@ pie.attributes = {
122
* see http://visage.co/data-visualization-101-pie-charts/
123
*/
124
type: 'enumerated',
125
- values: ['cw', 'ccw'],
126
- dflt: 'ccw'
+ values: ['clockwise', 'counterclockwise'],
+ dflt: 'counterclockwise'
127
},
128
rotation: {
129
// instead of the first slice starting at 12 o'clock, rotate to some other angle
@@ -968,7 +968,7 @@ function setCoords(cd) {
968
cdi,
969
currentCoords;
970
971
- if(trace.direction === 'ccw') {
+ if(trace.direction === 'counterclockwise') {
972
for(i = 0; i < cd.length; i++) {
973
if(!cd[i].hidden) break; // find the first non-hidden slice
974
}
0 commit comments