Skip to content

Commit 2965494

Browse files
committed
cw -> clockwise
1 parent 5100365 commit 2965494

File tree

1 file changed

+3
-3
lines changed
  • shelly/plotlyjs/static/plotlyjs/src

1 file changed

+3
-3
lines changed

shelly/plotlyjs/static/plotlyjs/src/pie.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ pie.attributes = {
122122
* see http://visage.co/data-visualization-101-pie-charts/
123123
*/
124124
type: 'enumerated',
125-
values: ['cw', 'ccw'],
126-
dflt: 'ccw'
125+
values: ['clockwise', 'counterclockwise'],
126+
dflt: 'counterclockwise'
127127
},
128128
rotation: {
129129
// instead of the first slice starting at 12 o'clock, rotate to some other angle
@@ -968,7 +968,7 @@ function setCoords(cd) {
968968
cdi,
969969
currentCoords;
970970

971-
if(trace.direction === 'ccw') {
971+
if(trace.direction === 'counterclockwise') {
972972
for(i = 0; i < cd.length; i++) {
973973
if(!cd[i].hidden) break; // find the first non-hidden slice
974974
}

0 commit comments

Comments
 (0)