Skip to content

Commit

Permalink
revise sunburst rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed Sep 29, 2020
1 parent 9d43204 commit 2af75a8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/traces/sunburst/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,18 @@ module.exports = {
'this option won\'t have any effect and `insidetextfont` would be used.'
].join(' ')
}),
rotation: pieAttrs.rotation,
rotation: {
valType: 'number',
role: 'style',
min: -180,
max: 180,
dflt: 0,
editType: 'plot',
description: [
'Instead of the first slice starting at 3 o\'clock,',
'rotate to some other angle.'
].join(' ')
},
sort: pieAttrs.sort,

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

0 comments on commit 2af75a8

Please sign in to comment.