Skip to content

Commit 2f07963

Browse files
set edittype to calc, and exclude colorscale
attribute settings
1 parent 53f3712 commit 2f07963

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/traces/sunburst/attributes.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,12 @@ module.exports = {
218218
root: {
219219
color: {
220220
valType: 'color',
221-
editType: 'style',
221+
editType: 'calc',
222222
role: 'style',
223223
dflt: 'rgba(0,0,0,0)',
224224
description: [
225-
'sets the color of the root node for a sunburst or a treemap trace.'
225+
'sets the color of the root node for a sunburst or a treemap trace.',
226+
'this has no effect when a colorscale is used to set the markers.'
226227
].join(' ')
227228
},
228229
editType: 'calc'

0 commit comments

Comments
 (0)