Skip to content

Commit 2af75a8

Browse files
committed
revise sunburst rotation
1 parent 9d43204 commit 2af75a8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/traces/sunburst/attributes.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,18 @@ module.exports = {
203203
'this option won\'t have any effect and `insidetextfont` would be used.'
204204
].join(' ')
205205
}),
206-
rotation: pieAttrs.rotation,
206+
rotation: {
207+
valType: 'number',
208+
role: 'style',
209+
min: -180,
210+
max: 180,
211+
dflt: 0,
212+
editType: 'plot',
213+
description: [
214+
'Instead of the first slice starting at 3 o\'clock,',
215+
'rotate to some other angle.'
216+
].join(' ')
217+
},
207218
sort: pieAttrs.sort,
208219

209220
domain: domainAttrs({name: 'sunburst', trace: true, editType: 'calc'})

0 commit comments

Comments
 (0)