@@ -20,7 +20,7 @@ module.exports = {
20
20
valType : 'boolean' ,
21
21
role : 'info' ,
22
22
dflt : true ,
23
- editType : 'docalcAutorange ' ,
23
+ editType : 'calcIfAutorange ' ,
24
24
description : [
25
25
'Determines whether or not this annotation is visible.'
26
26
] . join ( ' ' )
@@ -29,7 +29,7 @@ module.exports = {
29
29
text : {
30
30
valType : 'string' ,
31
31
role : 'info' ,
32
- editType : 'docalcAutorange ' ,
32
+ editType : 'calcIfAutorange ' ,
33
33
description : [
34
34
'Sets the text associated with this annotation.' ,
35
35
'Plotly uses a subset of HTML tags to do things like' ,
@@ -42,23 +42,23 @@ module.exports = {
42
42
valType : 'angle' ,
43
43
dflt : 0 ,
44
44
role : 'style' ,
45
- editType : 'docalcAutorange ' ,
45
+ editType : 'calcIfAutorange ' ,
46
46
description : [
47
47
'Sets the angle at which the `text` is drawn' ,
48
48
'with respect to the horizontal.'
49
49
] . join ( ' ' )
50
50
} ,
51
51
font : fontAttrs ( {
52
- editType : 'docalcAutorange ' ,
53
- colorEditType : 'doarraydraw ' ,
52
+ editType : 'calcIfAutorange ' ,
53
+ colorEditType : 'arraydraw ' ,
54
54
description : 'Sets the annotation text font.'
55
55
} ) ,
56
56
width : {
57
57
valType : 'number' ,
58
58
min : 1 ,
59
59
dflt : null ,
60
60
role : 'style' ,
61
- editType : 'docalcAutorange ' ,
61
+ editType : 'calcIfAutorange ' ,
62
62
description : [
63
63
'Sets an explicit width for the text box. null (default) lets the' ,
64
64
'text set the box width. Wider text will be clipped.' ,
@@ -70,7 +70,7 @@ module.exports = {
70
70
min : 1 ,
71
71
dflt : null ,
72
72
role : 'style' ,
73
- editType : 'docalcAutorange ' ,
73
+ editType : 'calcIfAutorange ' ,
74
74
description : [
75
75
'Sets an explicit height for the text box. null (default) lets the' ,
76
76
'text set the box height. Taller text will be clipped.'
@@ -82,15 +82,15 @@ module.exports = {
82
82
max : 1 ,
83
83
dflt : 1 ,
84
84
role : 'style' ,
85
- editType : 'doarraydraw ' ,
85
+ editType : 'arraydraw ' ,
86
86
description : 'Sets the opacity of the annotation (text + arrow).'
87
87
} ,
88
88
align : {
89
89
valType : 'enumerated' ,
90
90
values : [ 'left' , 'center' , 'right' ] ,
91
91
dflt : 'center' ,
92
92
role : 'style' ,
93
- editType : 'doarraydraw ' ,
93
+ editType : 'arraydraw ' ,
94
94
description : [
95
95
'Sets the horizontal alignment of the `text` within the box.' ,
96
96
'Has an effect only if `text` spans more two or more lines' ,
@@ -103,7 +103,7 @@ module.exports = {
103
103
values : [ 'top' , 'middle' , 'bottom' ] ,
104
104
dflt : 'middle' ,
105
105
role : 'style' ,
106
- editType : 'doarraydraw ' ,
106
+ editType : 'arraydraw ' ,
107
107
description : [
108
108
'Sets the vertical alignment of the `text` within the box.' ,
109
109
'Has an effect only if an explicit height is set to override' ,
@@ -114,14 +114,14 @@ module.exports = {
114
114
valType : 'color' ,
115
115
dflt : 'rgba(0,0,0,0)' ,
116
116
role : 'style' ,
117
- editType : 'doarraydraw ' ,
117
+ editType : 'arraydraw ' ,
118
118
description : 'Sets the background color of the annotation.'
119
119
} ,
120
120
bordercolor : {
121
121
valType : 'color' ,
122
122
dflt : 'rgba(0,0,0,0)' ,
123
123
role : 'style' ,
124
- editType : 'doarraydraw ' ,
124
+ editType : 'arraydraw ' ,
125
125
description : [
126
126
'Sets the color of the border enclosing the annotation `text`.'
127
127
] . join ( ' ' )
@@ -131,7 +131,7 @@ module.exports = {
131
131
min : 0 ,
132
132
dflt : 1 ,
133
133
role : 'style' ,
134
- editType : 'docalcAutorange ' ,
134
+ editType : 'calcIfAutorange ' ,
135
135
description : [
136
136
'Sets the padding (in px) between the `text`' ,
137
137
'and the enclosing border.'
@@ -142,7 +142,7 @@ module.exports = {
142
142
min : 0 ,
143
143
dflt : 1 ,
144
144
role : 'style' ,
145
- editType : 'docalcAutorange ' ,
145
+ editType : 'calcIfAutorange ' ,
146
146
description : [
147
147
'Sets the width (in px) of the border enclosing' ,
148
148
'the annotation `text`.'
@@ -153,7 +153,7 @@ module.exports = {
153
153
valType : 'boolean' ,
154
154
dflt : true ,
155
155
role : 'style' ,
156
- editType : 'docalcAutorange ' ,
156
+ editType : 'calcIfAutorange ' ,
157
157
description : [
158
158
'Determines whether or not the annotation is drawn with an arrow.' ,
159
159
'If *true*, `text` is placed near the arrow\'s tail.' ,
@@ -163,7 +163,7 @@ module.exports = {
163
163
arrowcolor : {
164
164
valType : 'color' ,
165
165
role : 'style' ,
166
- editType : 'doarraydraw ' ,
166
+ editType : 'arraydraw ' ,
167
167
description : 'Sets the color of the annotation arrow.'
168
168
} ,
169
169
arrowhead : {
@@ -172,15 +172,15 @@ module.exports = {
172
172
max : ARROWPATHS . length ,
173
173
dflt : 1 ,
174
174
role : 'style' ,
175
- editType : 'doarraydraw ' ,
175
+ editType : 'arraydraw ' ,
176
176
description : 'Sets the annotation arrow head style.'
177
177
} ,
178
178
arrowsize : {
179
179
valType : 'number' ,
180
180
min : 0.3 ,
181
181
dflt : 1 ,
182
182
role : 'style' ,
183
- editType : 'docalcAutorange ' ,
183
+ editType : 'calcIfAutorange ' ,
184
184
description : [
185
185
'Sets the size of the annotation arrow head, relative to `arrowwidth`.' ,
186
186
'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -190,15 +190,15 @@ module.exports = {
190
190
valType : 'number' ,
191
191
min : 0.1 ,
192
192
role : 'style' ,
193
- editType : 'docalcAutorange ' ,
193
+ editType : 'calcIfAutorange ' ,
194
194
description : 'Sets the width (in px) of annotation arrow line.'
195
195
} ,
196
196
standoff : {
197
197
valType : 'number' ,
198
198
min : 0 ,
199
199
dflt : 0 ,
200
200
role : 'style' ,
201
- editType : 'docalcAutorange ' ,
201
+ editType : 'calcIfAutorange ' ,
202
202
description : [
203
203
'Sets a distance, in pixels, to move the arrowhead away from the' ,
204
204
'position it is pointing at, for example to point at the edge of' ,
@@ -210,7 +210,7 @@ module.exports = {
210
210
ax : {
211
211
valType : 'any' ,
212
212
role : 'info' ,
213
- editType : 'docalcAutorange ' ,
213
+ editType : 'calcIfAutorange ' ,
214
214
description : [
215
215
'Sets the x component of the arrow tail about the arrow head.' ,
216
216
'If `axref` is `pixel`, a positive (negative) ' ,
@@ -223,7 +223,7 @@ module.exports = {
223
223
ay : {
224
224
valType : 'any' ,
225
225
role : 'info' ,
226
- editType : 'docalcAutorange ' ,
226
+ editType : 'calcIfAutorange ' ,
227
227
description : [
228
228
'Sets the y component of the arrow tail about the arrow head.' ,
229
229
'If `ayref` is `pixel`, a positive (negative) ' ,
@@ -241,7 +241,7 @@ module.exports = {
241
241
cartesianConstants . idRegex . x . toString ( )
242
242
] ,
243
243
role : 'info' ,
244
- editType : 'docalc ' ,
244
+ editType : 'calc ' ,
245
245
description : [
246
246
'Indicates in what terms the tail of the annotation (ax,ay) ' ,
247
247
'is specified. If `pixel`, `ax` is a relative offset in pixels ' ,
@@ -259,7 +259,7 @@ module.exports = {
259
259
cartesianConstants . idRegex . y . toString ( )
260
260
] ,
261
261
role : 'info' ,
262
- editType : 'docalc ' ,
262
+ editType : 'calc ' ,
263
263
description : [
264
264
'Indicates in what terms the tail of the annotation (ax,ay) ' ,
265
265
'is specified. If `pixel`, `ay` is a relative offset in pixels ' ,
@@ -277,7 +277,7 @@ module.exports = {
277
277
cartesianConstants . idRegex . x . toString ( )
278
278
] ,
279
279
role : 'info' ,
280
- editType : 'docalc ' ,
280
+ editType : 'calc ' ,
281
281
description : [
282
282
'Sets the annotation\'s x coordinate axis.' ,
283
283
'If set to an x axis id (e.g. *x* or *x2*), the `x` position' ,
@@ -290,7 +290,7 @@ module.exports = {
290
290
x : {
291
291
valType : 'any' ,
292
292
role : 'info' ,
293
- editType : 'docalcAutorange ' ,
293
+ editType : 'calcIfAutorange ' ,
294
294
description : [
295
295
'Sets the annotation\'s x position.' ,
296
296
'If the axis `type` is *log*, then you must take the' ,
@@ -308,7 +308,7 @@ module.exports = {
308
308
values : [ 'auto' , 'left' , 'center' , 'right' ] ,
309
309
dflt : 'auto' ,
310
310
role : 'info' ,
311
- editType : 'docalcAutorange ' ,
311
+ editType : 'calcIfAutorange ' ,
312
312
description : [
313
313
'Sets the text box\'s horizontal position anchor' ,
314
314
'This anchor binds the `x` position to the *left*, *center*' ,
@@ -327,7 +327,7 @@ module.exports = {
327
327
valType : 'number' ,
328
328
dflt : 0 ,
329
329
role : 'style' ,
330
- editType : 'docalcAutorange ' ,
330
+ editType : 'calcIfAutorange ' ,
331
331
description : [
332
332
'Shifts the position of the whole annotation and arrow to the' ,
333
333
'right (positive) or left (negative) by this many pixels.'
@@ -340,7 +340,7 @@ module.exports = {
340
340
cartesianConstants . idRegex . y . toString ( )
341
341
] ,
342
342
role : 'info' ,
343
- editType : 'docalc ' ,
343
+ editType : 'calc ' ,
344
344
description : [
345
345
'Sets the annotation\'s y coordinate axis.' ,
346
346
'If set to an y axis id (e.g. *y* or *y2*), the `y` position' ,
@@ -353,7 +353,7 @@ module.exports = {
353
353
y : {
354
354
valType : 'any' ,
355
355
role : 'info' ,
356
- editType : 'docalcAutorange ' ,
356
+ editType : 'calcIfAutorange ' ,
357
357
description : [
358
358
'Sets the annotation\'s y position.' ,
359
359
'If the axis `type` is *log*, then you must take the' ,
@@ -371,7 +371,7 @@ module.exports = {
371
371
values : [ 'auto' , 'top' , 'middle' , 'bottom' ] ,
372
372
dflt : 'auto' ,
373
373
role : 'info' ,
374
- editType : 'docalcAutorange ' ,
374
+ editType : 'calcIfAutorange ' ,
375
375
description : [
376
376
'Sets the text box\'s vertical position anchor' ,
377
377
'This anchor binds the `y` position to the *top*, *middle*' ,
@@ -390,7 +390,7 @@ module.exports = {
390
390
valType : 'number' ,
391
391
dflt : 0 ,
392
392
role : 'style' ,
393
- editType : 'docalcAutorange ' ,
393
+ editType : 'calcIfAutorange ' ,
394
394
description : [
395
395
'Shifts the position of the whole annotation and arrow up' ,
396
396
'(positive) or down (negative) by this many pixels.'
@@ -401,7 +401,7 @@ module.exports = {
401
401
values : [ false , 'onoff' , 'onout' ] ,
402
402
dflt : false ,
403
403
role : 'style' ,
404
- editType : 'doarraydraw ' ,
404
+ editType : 'arraydraw ' ,
405
405
description : [
406
406
'Makes this annotation respond to clicks on the plot.' ,
407
407
'If you click a data point that exactly matches the `x` and `y`' ,
@@ -420,7 +420,7 @@ module.exports = {
420
420
xclick : {
421
421
valType : 'any' ,
422
422
role : 'info' ,
423
- editType : 'doarraydraw ' ,
423
+ editType : 'arraydraw ' ,
424
424
description : [
425
425
'Toggle this annotation when clicking a data point whose `x` value' ,
426
426
'is `xclick` rather than the annotation\'s `x` value.'
@@ -429,7 +429,7 @@ module.exports = {
429
429
yclick : {
430
430
valType : 'any' ,
431
431
role : 'info' ,
432
- editType : 'doarraydraw ' ,
432
+ editType : 'arraydraw ' ,
433
433
description : [
434
434
'Toggle this annotation when clicking a data point whose `y` value' ,
435
435
'is `yclick` rather than the annotation\'s `y` value.'
@@ -438,7 +438,7 @@ module.exports = {
438
438
hovertext : {
439
439
valType : 'string' ,
440
440
role : 'info' ,
441
- editType : 'doarraydraw ' ,
441
+ editType : 'arraydraw ' ,
442
442
description : [
443
443
'Sets text to appear when hovering over this annotation.' ,
444
444
'If omitted or blank, no hover label will appear.'
@@ -448,7 +448,7 @@ module.exports = {
448
448
bgcolor : {
449
449
valType : 'color' ,
450
450
role : 'style' ,
451
- editType : 'doarraydraw ' ,
451
+ editType : 'arraydraw ' ,
452
452
description : [
453
453
'Sets the background color of the hover label.' ,
454
454
'By default uses the annotation\'s `bgcolor` made opaque,' ,
@@ -458,27 +458,27 @@ module.exports = {
458
458
bordercolor : {
459
459
valType : 'color' ,
460
460
role : 'style' ,
461
- editType : 'doarraydraw ' ,
461
+ editType : 'arraydraw ' ,
462
462
description : [
463
463
'Sets the border color of the hover label.' ,
464
464
'By default uses either dark grey or white, for maximum' ,
465
465
'contrast with `hoverlabel.bgcolor`.'
466
466
] . join ( ' ' )
467
467
} ,
468
468
font : fontAttrs ( {
469
- editType : 'doarraydraw ' ,
469
+ editType : 'arraydraw ' ,
470
470
description : [
471
471
'Sets the hover label text font.' ,
472
472
'By default uses the global hover font and size,' ,
473
473
'with color from `hoverlabel.bordercolor`.'
474
474
] . join ( ' ' )
475
475
} ) ,
476
- editType : 'doarraydraw '
476
+ editType : 'arraydraw '
477
477
} ,
478
478
captureevents : {
479
479
valType : 'boolean' ,
480
480
role : 'info' ,
481
- editType : 'doarraydraw ' ,
481
+ editType : 'arraydraw ' ,
482
482
description : [
483
483
'Determines whether the annotation text box captures mouse move' ,
484
484
'and click events, or allows those events to pass through to data' ,
@@ -488,13 +488,13 @@ module.exports = {
488
488
'you must explicitly enable `captureevents`.'
489
489
] . join ( ' ' )
490
490
} ,
491
- editType : 'docalc ' ,
491
+ editType : 'calc ' ,
492
492
493
493
_deprecated : {
494
494
ref : {
495
495
valType : 'string' ,
496
496
role : 'info' ,
497
- editType : 'docalc ' ,
497
+ editType : 'calc ' ,
498
498
description : [
499
499
'Obsolete. Set `xref` and `yref` separately instead.'
500
500
] . join ( ' ' )
0 commit comments