@@ -67,7 +67,7 @@ module.exports = {
67
67
] . join ( ' ' )
68
68
} ,
69
69
70
- mirror : {
70
+ flip : {
71
71
valType : 'flaglist' ,
72
72
role : 'info' ,
73
73
flags : [
@@ -77,7 +77,7 @@ module.exports = {
77
77
dflt : '' ,
78
78
editType : 'plot' ,
79
79
description : [
80
- 'Determines if the positions obtained from solver are mirrored on each axis.'
80
+ 'Determines if the positions obtained from solver are flipped on each axis.'
81
81
] . join ( ' ' )
82
82
} ,
83
83
@@ -97,41 +97,37 @@ module.exports = {
97
97
98
98
marker : extendFlat ( {
99
99
pad : {
100
- top : {
100
+ t : {
101
101
valType : 'number' ,
102
102
role : 'style' ,
103
103
min : 0 ,
104
- dflt : 'auto' ,
105
104
editType : 'plot' ,
106
105
description : [
107
106
'Sets the padding form the top (in px).'
108
107
] . join ( ' ' )
109
108
} ,
110
- left : {
109
+ l : {
111
110
valType : 'number' ,
112
111
role : 'style' ,
113
112
min : 0 ,
114
- dflt : 'auto' ,
115
113
editType : 'plot' ,
116
114
description : [
117
115
'Sets the padding form the left (in px).'
118
116
] . join ( ' ' )
119
117
} ,
120
- right : {
118
+ r : {
121
119
valType : 'number' ,
122
120
role : 'style' ,
123
121
min : 0 ,
124
- dflt : 'auto' ,
125
122
editType : 'plot' ,
126
123
description : [
127
124
'Sets the padding form the right (in px).'
128
125
] . join ( ' ' )
129
126
} ,
130
- bottom : {
127
+ b : {
131
128
valType : 'number' ,
132
129
role : 'style' ,
133
130
min : 0 ,
134
- dflt : 'auto' ,
135
131
editType : 'plot' ,
136
132
description : [
137
133
'Sets the padding form the bottom (in px).'
@@ -141,15 +137,7 @@ module.exports = {
141
137
editType : 'calc'
142
138
} ,
143
139
144
- colors : {
145
- valType : 'data_array' ,
146
- editType : 'calc' ,
147
- description : [
148
- 'Sets the color of each sector of this treemap chart.' ,
149
- 'If not specified, the default trace color set is used' ,
150
- 'to pick the sector colors.'
151
- ] . join ( ' ' )
152
- } ,
140
+ colors : sunburstAttrs . marker . colors ,
153
141
154
142
opacity : {
155
143
valType : 'number' ,
@@ -164,17 +152,7 @@ module.exports = {
164
152
] . join ( ' ' )
165
153
} ,
166
154
167
- line : {
168
- color : extendFlat ( { } , pieAttrs . marker . line . color , {
169
- dflt : null ,
170
- description : [
171
- 'Sets the color of the line enclosing each sector.' ,
172
- 'Defaults to the `paper_bgcolor` value.'
173
- ] . join ( ' ' )
174
- } ) ,
175
- width : extendFlat ( { } , pieAttrs . marker . line . width , { dflt : 1 } ) ,
176
- editType : 'calc'
177
- } ,
155
+ line : sunburstAttrs . marker . line ,
178
156
179
157
editType : 'calc'
180
158
} ,
@@ -210,7 +188,7 @@ module.exports = {
210
188
] . join ( ' ' )
211
189
} ,
212
190
213
- position : {
191
+ side : {
214
192
valType : 'enumerated' ,
215
193
values : [
216
194
'top' ,
@@ -234,24 +212,22 @@ module.exports = {
234
212
'/' ,
235
213
'\\'
236
214
] ,
237
- dflt : 'auto' ,
238
215
role : 'style' ,
239
216
editType : 'plot' ,
240
217
description : [
241
218
'Determines which divider is used between labels.' ,
242
- 'With *top* `pathbar.position ` it is defaulted to */*; and' ,
243
- 'with *bottom* `pathbar.position ` it is defaulted to *\\*.'
219
+ 'With *top* `pathbar.side ` it is defaulted to */*; and' ,
220
+ 'with *bottom* `pathbar.side ` it is defaulted to *\\*.'
244
221
] . join ( ' ' )
245
222
} ,
246
223
247
- height : {
224
+ thickness : {
248
225
valType : 'number' ,
249
- dflt : 'auto' ,
250
226
min : 12 ,
251
227
role : 'info' ,
252
228
editType : 'plot' ,
253
229
description : [
254
- 'Sets the height (in px). If not specified the `parbath .textfont.size` is used' ,
230
+ 'Sets the thickness of `pathbar` (in px). If not specified the `pathbar .textfont.size` is used' ,
255
231
'with 3 pixles extra padding on each side.'
256
232
] . join ( ' ' )
257
233
} ,
@@ -301,14 +277,12 @@ module.exports = {
301
277
marker : {
302
278
line : {
303
279
color : extendFlat ( { } , pieAttrs . marker . line . color , {
304
- dflt : 'auto' ,
305
280
description : [
306
281
'Sets the color of the line' ,
307
282
'enclosing each sector when it is hovered'
308
283
] . join ( ' ' )
309
284
} ) ,
310
285
width : extendFlat ( { } , pieAttrs . marker . line . width , {
311
- dflt : 'auto' ,
312
286
description : [
313
287
'Sets the width (in px) of the line' ,
314
288
'enclosing each sector when it is hovered.'
0 commit comments