@@ -19,7 +19,7 @@ module.exports = templatedArray('annotation', {
19
19
valType : 'boolean' ,
20
20
role : 'info' ,
21
21
dflt : true ,
22
- editType : 'calcIfAutorange +arraydraw' ,
22
+ editType : 'calc +arraydraw' ,
23
23
description : [
24
24
'Determines whether or not this annotation is visible.'
25
25
] . join ( ' ' )
@@ -28,7 +28,7 @@ module.exports = templatedArray('annotation', {
28
28
text : {
29
29
valType : 'string' ,
30
30
role : 'info' ,
31
- editType : 'calcIfAutorange +arraydraw' ,
31
+ editType : 'calc +arraydraw' ,
32
32
description : [
33
33
'Sets the text associated with this annotation.' ,
34
34
'Plotly uses a subset of HTML tags to do things like' ,
@@ -41,14 +41,14 @@ module.exports = templatedArray('annotation', {
41
41
valType : 'angle' ,
42
42
dflt : 0 ,
43
43
role : 'style' ,
44
- editType : 'calcIfAutorange +arraydraw' ,
44
+ editType : 'calc +arraydraw' ,
45
45
description : [
46
46
'Sets the angle at which the `text` is drawn' ,
47
47
'with respect to the horizontal.'
48
48
] . join ( ' ' )
49
49
} ,
50
50
font : fontAttrs ( {
51
- editType : 'calcIfAutorange +arraydraw' ,
51
+ editType : 'calc +arraydraw' ,
52
52
colorEditType : 'arraydraw' ,
53
53
description : 'Sets the annotation text font.'
54
54
} ) ,
@@ -57,7 +57,7 @@ module.exports = templatedArray('annotation', {
57
57
min : 1 ,
58
58
dflt : null ,
59
59
role : 'style' ,
60
- editType : 'calcIfAutorange +arraydraw' ,
60
+ editType : 'calc +arraydraw' ,
61
61
description : [
62
62
'Sets an explicit width for the text box. null (default) lets the' ,
63
63
'text set the box width. Wider text will be clipped.' ,
@@ -69,7 +69,7 @@ module.exports = templatedArray('annotation', {
69
69
min : 1 ,
70
70
dflt : null ,
71
71
role : 'style' ,
72
- editType : 'calcIfAutorange +arraydraw' ,
72
+ editType : 'calc +arraydraw' ,
73
73
description : [
74
74
'Sets an explicit height for the text box. null (default) lets the' ,
75
75
'text set the box height. Taller text will be clipped.'
@@ -130,7 +130,7 @@ module.exports = templatedArray('annotation', {
130
130
min : 0 ,
131
131
dflt : 1 ,
132
132
role : 'style' ,
133
- editType : 'calcIfAutorange +arraydraw' ,
133
+ editType : 'calc +arraydraw' ,
134
134
description : [
135
135
'Sets the padding (in px) between the `text`' ,
136
136
'and the enclosing border.'
@@ -141,7 +141,7 @@ module.exports = templatedArray('annotation', {
141
141
min : 0 ,
142
142
dflt : 1 ,
143
143
role : 'style' ,
144
- editType : 'calcIfAutorange +arraydraw' ,
144
+ editType : 'calc +arraydraw' ,
145
145
description : [
146
146
'Sets the width (in px) of the border enclosing' ,
147
147
'the annotation `text`.'
@@ -152,7 +152,7 @@ module.exports = templatedArray('annotation', {
152
152
valType : 'boolean' ,
153
153
dflt : true ,
154
154
role : 'style' ,
155
- editType : 'calcIfAutorange +arraydraw' ,
155
+ editType : 'calc +arraydraw' ,
156
156
description : [
157
157
'Determines whether or not the annotation is drawn with an arrow.' ,
158
158
'If *true*, `text` is placed near the arrow\'s tail.' ,
@@ -197,7 +197,7 @@ module.exports = templatedArray('annotation', {
197
197
min : 0.3 ,
198
198
dflt : 1 ,
199
199
role : 'style' ,
200
- editType : 'calcIfAutorange +arraydraw' ,
200
+ editType : 'calc +arraydraw' ,
201
201
description : [
202
202
'Sets the size of the end annotation arrow head, relative to `arrowwidth`.' ,
203
203
'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -208,7 +208,7 @@ module.exports = templatedArray('annotation', {
208
208
min : 0.3 ,
209
209
dflt : 1 ,
210
210
role : 'style' ,
211
- editType : 'calcIfAutorange +arraydraw' ,
211
+ editType : 'calc +arraydraw' ,
212
212
description : [
213
213
'Sets the size of the start annotation arrow head, relative to `arrowwidth`.' ,
214
214
'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -218,15 +218,15 @@ module.exports = templatedArray('annotation', {
218
218
valType : 'number' ,
219
219
min : 0.1 ,
220
220
role : 'style' ,
221
- editType : 'calcIfAutorange +arraydraw' ,
221
+ editType : 'calc +arraydraw' ,
222
222
description : 'Sets the width (in px) of annotation arrow line.'
223
223
} ,
224
224
standoff : {
225
225
valType : 'number' ,
226
226
min : 0 ,
227
227
dflt : 0 ,
228
228
role : 'style' ,
229
- editType : 'calcIfAutorange +arraydraw' ,
229
+ editType : 'calc +arraydraw' ,
230
230
description : [
231
231
'Sets a distance, in pixels, to move the end arrowhead away from the' ,
232
232
'position it is pointing at, for example to point at the edge of' ,
@@ -240,7 +240,7 @@ module.exports = templatedArray('annotation', {
240
240
min : 0 ,
241
241
dflt : 0 ,
242
242
role : 'style' ,
243
- editType : 'calcIfAutorange +arraydraw' ,
243
+ editType : 'calc +arraydraw' ,
244
244
description : [
245
245
'Sets a distance, in pixels, to move the start arrowhead away from the' ,
246
246
'position it is pointing at, for example to point at the edge of' ,
@@ -252,7 +252,7 @@ module.exports = templatedArray('annotation', {
252
252
ax : {
253
253
valType : 'any' ,
254
254
role : 'info' ,
255
- editType : 'calcIfAutorange +arraydraw' ,
255
+ editType : 'calc +arraydraw' ,
256
256
description : [
257
257
'Sets the x component of the arrow tail about the arrow head.' ,
258
258
'If `axref` is `pixel`, a positive (negative) ' ,
@@ -265,7 +265,7 @@ module.exports = templatedArray('annotation', {
265
265
ay : {
266
266
valType : 'any' ,
267
267
role : 'info' ,
268
- editType : 'calcIfAutorange +arraydraw' ,
268
+ editType : 'calc +arraydraw' ,
269
269
description : [
270
270
'Sets the y component of the arrow tail about the arrow head.' ,
271
271
'If `ayref` is `pixel`, a positive (negative) ' ,
@@ -332,7 +332,7 @@ module.exports = templatedArray('annotation', {
332
332
x : {
333
333
valType : 'any' ,
334
334
role : 'info' ,
335
- editType : 'calcIfAutorange +arraydraw' ,
335
+ editType : 'calc +arraydraw' ,
336
336
description : [
337
337
'Sets the annotation\'s x position.' ,
338
338
'If the axis `type` is *log*, then you must take the' ,
@@ -350,7 +350,7 @@ module.exports = templatedArray('annotation', {
350
350
values : [ 'auto' , 'left' , 'center' , 'right' ] ,
351
351
dflt : 'auto' ,
352
352
role : 'info' ,
353
- editType : 'calcIfAutorange +arraydraw' ,
353
+ editType : 'calc +arraydraw' ,
354
354
description : [
355
355
'Sets the text box\'s horizontal position anchor' ,
356
356
'This anchor binds the `x` position to the *left*, *center*' ,
@@ -369,7 +369,7 @@ module.exports = templatedArray('annotation', {
369
369
valType : 'number' ,
370
370
dflt : 0 ,
371
371
role : 'style' ,
372
- editType : 'calcIfAutorange +arraydraw' ,
372
+ editType : 'calc +arraydraw' ,
373
373
description : [
374
374
'Shifts the position of the whole annotation and arrow to the' ,
375
375
'right (positive) or left (negative) by this many pixels.'
@@ -395,7 +395,7 @@ module.exports = templatedArray('annotation', {
395
395
y : {
396
396
valType : 'any' ,
397
397
role : 'info' ,
398
- editType : 'calcIfAutorange +arraydraw' ,
398
+ editType : 'calc +arraydraw' ,
399
399
description : [
400
400
'Sets the annotation\'s y position.' ,
401
401
'If the axis `type` is *log*, then you must take the' ,
@@ -413,7 +413,7 @@ module.exports = templatedArray('annotation', {
413
413
values : [ 'auto' , 'top' , 'middle' , 'bottom' ] ,
414
414
dflt : 'auto' ,
415
415
role : 'info' ,
416
- editType : 'calcIfAutorange +arraydraw' ,
416
+ editType : 'calc +arraydraw' ,
417
417
description : [
418
418
'Sets the text box\'s vertical position anchor' ,
419
419
'This anchor binds the `y` position to the *top*, *middle*' ,
@@ -432,7 +432,7 @@ module.exports = templatedArray('annotation', {
432
432
valType : 'number' ,
433
433
dflt : 0 ,
434
434
role : 'style' ,
435
- editType : 'calcIfAutorange +arraydraw' ,
435
+ editType : 'calc +arraydraw' ,
436
436
description : [
437
437
'Shifts the position of the whole annotation and arrow up' ,
438
438
'(positive) or down (negative) by this many pixels.'
0 commit comments