@@ -20,7 +20,7 @@ module.exports = {
20
20
valType : 'boolean' ,
21
21
role : 'info' ,
22
22
dflt : true ,
23
- editType : 'calcIfAutorange' ,
23
+ editType : 'calcIfAutorange+arraydraw ' ,
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 : 'calcIfAutorange' ,
32
+ editType : 'calcIfAutorange+arraydraw ' ,
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,14 +42,14 @@ module.exports = {
42
42
valType : 'angle' ,
43
43
dflt : 0 ,
44
44
role : 'style' ,
45
- editType : 'calcIfAutorange' ,
45
+ editType : 'calcIfAutorange+arraydraw ' ,
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 : 'calcIfAutorange' ,
52
+ editType : 'calcIfAutorange+arraydraw ' ,
53
53
colorEditType : 'arraydraw' ,
54
54
description : 'Sets the annotation text font.'
55
55
} ) ,
@@ -58,7 +58,7 @@ module.exports = {
58
58
min : 1 ,
59
59
dflt : null ,
60
60
role : 'style' ,
61
- editType : 'calcIfAutorange' ,
61
+ editType : 'calcIfAutorange+arraydraw ' ,
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 : 'calcIfAutorange' ,
73
+ editType : 'calcIfAutorange+arraydraw ' ,
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.'
@@ -131,7 +131,7 @@ module.exports = {
131
131
min : 0 ,
132
132
dflt : 1 ,
133
133
role : 'style' ,
134
- editType : 'calcIfAutorange' ,
134
+ editType : 'calcIfAutorange+arraydraw ' ,
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 : 'calcIfAutorange' ,
145
+ editType : 'calcIfAutorange+arraydraw ' ,
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 : 'calcIfAutorange' ,
156
+ editType : 'calcIfAutorange+arraydraw ' ,
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.' ,
@@ -198,7 +198,7 @@ module.exports = {
198
198
min : 0.3 ,
199
199
dflt : 1 ,
200
200
role : 'style' ,
201
- editType : 'calcIfAutorange' ,
201
+ editType : 'calcIfAutorange+arraydraw ' ,
202
202
description : [
203
203
'Sets the size of the end annotation arrow head, relative to `arrowwidth`.' ,
204
204
'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -209,7 +209,7 @@ module.exports = {
209
209
min : 0.3 ,
210
210
dflt : 1 ,
211
211
role : 'style' ,
212
- editType : 'calcIfAutorange' ,
212
+ editType : 'calcIfAutorange+arraydraw ' ,
213
213
description : [
214
214
'Sets the size of the start annotation arrow head, relative to `arrowwidth`.' ,
215
215
'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -219,15 +219,15 @@ module.exports = {
219
219
valType : 'number' ,
220
220
min : 0.1 ,
221
221
role : 'style' ,
222
- editType : 'calcIfAutorange' ,
222
+ editType : 'calcIfAutorange+arraydraw ' ,
223
223
description : 'Sets the width (in px) of annotation arrow line.'
224
224
} ,
225
225
standoff : {
226
226
valType : 'number' ,
227
227
min : 0 ,
228
228
dflt : 0 ,
229
229
role : 'style' ,
230
- editType : 'calcIfAutorange' ,
230
+ editType : 'calcIfAutorange+arraydraw ' ,
231
231
description : [
232
232
'Sets a distance, in pixels, to move the end arrowhead away from the' ,
233
233
'position it is pointing at, for example to point at the edge of' ,
@@ -241,7 +241,7 @@ module.exports = {
241
241
min : 0 ,
242
242
dflt : 0 ,
243
243
role : 'style' ,
244
- editType : 'calcIfAutorange' ,
244
+ editType : 'calcIfAutorange+arraydraw ' ,
245
245
description : [
246
246
'Sets a distance, in pixels, to move the start arrowhead away from the' ,
247
247
'position it is pointing at, for example to point at the edge of' ,
@@ -253,7 +253,7 @@ module.exports = {
253
253
ax : {
254
254
valType : 'any' ,
255
255
role : 'info' ,
256
- editType : 'calcIfAutorange' ,
256
+ editType : 'calcIfAutorange+arraydraw ' ,
257
257
description : [
258
258
'Sets the x component of the arrow tail about the arrow head.' ,
259
259
'If `axref` is `pixel`, a positive (negative) ' ,
@@ -266,7 +266,7 @@ module.exports = {
266
266
ay : {
267
267
valType : 'any' ,
268
268
role : 'info' ,
269
- editType : 'calcIfAutorange' ,
269
+ editType : 'calcIfAutorange+arraydraw ' ,
270
270
description : [
271
271
'Sets the y component of the arrow tail about the arrow head.' ,
272
272
'If `ayref` is `pixel`, a positive (negative) ' ,
@@ -333,7 +333,7 @@ module.exports = {
333
333
x : {
334
334
valType : 'any' ,
335
335
role : 'info' ,
336
- editType : 'calcIfAutorange' ,
336
+ editType : 'calcIfAutorange+arraydraw ' ,
337
337
description : [
338
338
'Sets the annotation\'s x position.' ,
339
339
'If the axis `type` is *log*, then you must take the' ,
@@ -351,7 +351,7 @@ module.exports = {
351
351
values : [ 'auto' , 'left' , 'center' , 'right' ] ,
352
352
dflt : 'auto' ,
353
353
role : 'info' ,
354
- editType : 'calcIfAutorange' ,
354
+ editType : 'calcIfAutorange+arraydraw ' ,
355
355
description : [
356
356
'Sets the text box\'s horizontal position anchor' ,
357
357
'This anchor binds the `x` position to the *left*, *center*' ,
@@ -370,7 +370,7 @@ module.exports = {
370
370
valType : 'number' ,
371
371
dflt : 0 ,
372
372
role : 'style' ,
373
- editType : 'calcIfAutorange' ,
373
+ editType : 'calcIfAutorange+arraydraw ' ,
374
374
description : [
375
375
'Shifts the position of the whole annotation and arrow to the' ,
376
376
'right (positive) or left (negative) by this many pixels.'
@@ -396,7 +396,7 @@ module.exports = {
396
396
y : {
397
397
valType : 'any' ,
398
398
role : 'info' ,
399
- editType : 'calcIfAutorange' ,
399
+ editType : 'calcIfAutorange+arraydraw ' ,
400
400
description : [
401
401
'Sets the annotation\'s y position.' ,
402
402
'If the axis `type` is *log*, then you must take the' ,
@@ -414,7 +414,7 @@ module.exports = {
414
414
values : [ 'auto' , 'top' , 'middle' , 'bottom' ] ,
415
415
dflt : 'auto' ,
416
416
role : 'info' ,
417
- editType : 'calcIfAutorange' ,
417
+ editType : 'calcIfAutorange+arraydraw ' ,
418
418
description : [
419
419
'Sets the text box\'s vertical position anchor' ,
420
420
'This anchor binds the `y` position to the *top*, *middle*' ,
@@ -433,7 +433,7 @@ module.exports = {
433
433
valType : 'number' ,
434
434
dflt : 0 ,
435
435
role : 'style' ,
436
- editType : 'calcIfAutorange' ,
436
+ editType : 'calcIfAutorange+arraydraw ' ,
437
437
description : [
438
438
'Shifts the position of the whole annotation and arrow up' ,
439
439
'(positive) or down (negative) by this many pixels.'
0 commit comments