@@ -52,6 +52,7 @@ module.exports = {
52
52
'See overview for more info.'
53
53
] . join ( ' ' )
54
54
} ,
55
+
55
56
name : {
56
57
valType : 'string' ,
57
58
role : 'info' ,
@@ -64,40 +65,10 @@ module.exports = {
64
65
'missing and the position axis is categorical'
65
66
] . join ( ' ' )
66
67
} ,
67
- text : extendFlat ( { } , scatterAttrs . text , {
68
- description : [
69
- 'Sets the text elements associated with each sample value.' ,
70
- 'If a single string, the same string appears over' ,
71
- 'all the data points.' ,
72
- 'If an array of string, the items are mapped in order to the' ,
73
- 'this trace\'s (x,y) coordinates.' ,
74
- 'To be seen, trace `hoverinfo` must contain a *text* flag.'
75
- ] . join ( ' ' )
76
- } ) ,
77
- hovertext : extendFlat ( { } , scatterAttrs . hovertext , {
78
- description : 'Same as `text`.'
79
- } ) ,
80
- hovertemplate : hovertemplateAttrs ( {
81
- description : [
82
- 'N.B. This only has an effect when hovering on points.'
83
- ] . join ( ' ' )
84
- } ) ,
85
- whiskerwidth : {
86
- valType : 'number' ,
87
- min : 0 ,
88
- max : 1 ,
89
- dflt : 0.5 ,
90
- role : 'style' ,
91
- editType : 'calc' ,
92
- description : [
93
- 'Sets the width of the whiskers relative to' ,
94
- 'the box\' width.' ,
95
- 'For example, with 1, the whiskers are as wide as the box(es).'
96
- ] . join ( ' ' )
97
- } ,
68
+
98
69
notched : {
99
70
valType : 'boolean' ,
100
- role : 'style ' ,
71
+ role : 'info ' ,
101
72
editType : 'calc' ,
102
73
description : [
103
74
'Determines whether or not notches are drawn.' ,
@@ -121,6 +92,7 @@ module.exports = {
121
92
'For example, with 0, the notches are as wide as the box(es).'
122
93
] . join ( ' ' )
123
94
} ,
95
+
124
96
boxpoints : {
125
97
valType : 'enumerated' ,
126
98
values : [ 'all' , 'outliers' , 'suspectedoutliers' , false ] ,
@@ -137,18 +109,6 @@ module.exports = {
137
109
'If *false*, only the box(es) are shown with no sample points'
138
110
] . join ( ' ' )
139
111
} ,
140
- boxmean : {
141
- valType : 'enumerated' ,
142
- values : [ true , 'sd' , false ] ,
143
- dflt : false ,
144
- role : 'style' ,
145
- editType : 'calc' ,
146
- description : [
147
- 'If *true*, the mean of the box(es)\' underlying distribution is' ,
148
- 'drawn as a dashed line inside the box(es).' ,
149
- 'If *sd* the standard deviation is also drawn.'
150
- ] . join ( ' ' )
151
- } ,
152
112
jitter : {
153
113
valType : 'number' ,
154
114
min : 0 ,
@@ -175,6 +135,20 @@ module.exports = {
175
135
'right (left) for vertical boxes and above (below) for horizontal boxes'
176
136
] . join ( ' ' )
177
137
} ,
138
+
139
+ boxmean : {
140
+ valType : 'enumerated' ,
141
+ values : [ true , 'sd' , false ] ,
142
+ dflt : false ,
143
+ role : 'style' ,
144
+ editType : 'calc' ,
145
+ description : [
146
+ 'If *true*, the mean of the box(es)\' underlying distribution is' ,
147
+ 'drawn as a dashed line inside the box(es).' ,
148
+ 'If *sd* the standard deviation is also drawn.'
149
+ ] . join ( ' ' )
150
+ } ,
151
+
178
152
orientation : {
179
153
valType : 'enumerated' ,
180
154
values : [ 'v' , 'h' ] ,
@@ -270,6 +244,7 @@ module.exports = {
270
244
} ,
271
245
editType : 'plot'
272
246
} ,
247
+
273
248
line : {
274
249
color : {
275
250
valType : 'color' ,
@@ -287,8 +262,23 @@ module.exports = {
287
262
} ,
288
263
editType : 'plot'
289
264
} ,
265
+
290
266
fillcolor : scatterAttrs . fillcolor ,
291
267
268
+ whiskerwidth : {
269
+ valType : 'number' ,
270
+ min : 0 ,
271
+ max : 1 ,
272
+ dflt : 0.5 ,
273
+ role : 'style' ,
274
+ editType : 'calc' ,
275
+ description : [
276
+ 'Sets the width of the whiskers relative to' ,
277
+ 'the box\' width.' ,
278
+ 'For example, with 1, the whiskers are as wide as the box(es).'
279
+ ] . join ( ' ' )
280
+ } ,
281
+
292
282
offsetgroup : barAttrs . offsetgroup ,
293
283
alignmentgroup : barAttrs . alignmentgroup ,
294
284
@@ -300,6 +290,26 @@ module.exports = {
300
290
marker : scatterAttrs . unselected . marker ,
301
291
editType : 'style'
302
292
} ,
293
+
294
+ text : extendFlat ( { } , scatterAttrs . text , {
295
+ description : [
296
+ 'Sets the text elements associated with each sample value.' ,
297
+ 'If a single string, the same string appears over' ,
298
+ 'all the data points.' ,
299
+ 'If an array of string, the items are mapped in order to the' ,
300
+ 'this trace\'s (x,y) coordinates.' ,
301
+ 'To be seen, trace `hoverinfo` must contain a *text* flag.'
302
+ ] . join ( ' ' )
303
+ } ) ,
304
+ hovertext : extendFlat ( { } , scatterAttrs . hovertext , {
305
+ description : 'Same as `text`.'
306
+ } ) ,
307
+ hovertemplate : hovertemplateAttrs ( {
308
+ description : [
309
+ 'N.B. This only has an effect when hovering on points.'
310
+ ] . join ( ' ' )
311
+ } ) ,
312
+
303
313
hoveron : {
304
314
valType : 'flaglist' ,
305
315
flags : [ 'boxes' , 'points' ] ,
0 commit comments