@@ -16,28 +16,28 @@ var axisPlaceableObjs = require('../../constants/axis_placeable_objects');
16
16
17
17
function arrowAxisRefDescription ( axis ) {
18
18
return [
19
- 'In order for absolute positioning of the arrow to work, *a' + axis +
20
- 'ref* must be exactly the same as *' + axis + 'ref*, otherwise *a' + axis +
19
+ 'In order for absolute positioning of the arrow to work, *a' + axis +
20
+ 'ref* must be exactly the same as *' + axis + 'ref*, otherwise *a' + axis +
21
21
'ref* will revert to *pixel* (explained next).' ,
22
- 'For relative positioning, *a' + axis + 'ref* can be set to *pixel*,' ,
23
- 'in which case the *a' + axis + '* value is specified in pixels' ,
24
- 'relative to *' + axis + '*.' ,
22
+ 'For relative positioning, *a' + axis + 'ref* can be set to *pixel*,' ,
23
+ 'in which case the *a' + axis + '* value is specified in pixels' ,
24
+ 'relative to *' + axis + '*.' ,
25
25
'Absolute positioning is useful' ,
26
26
'for trendline annotations which should continue to indicate' ,
27
27
'the correct trend when zoomed. Relative positioning is useful' ,
28
28
'for specifying the text offset for an annotated point.'
29
29
] . join ( ' ' ) ;
30
30
}
31
31
32
- function arrowCoordinateDescription ( axis , lower , upper ) {
32
+ function arrowCoordinateDescription ( axis , lower , upper ) {
33
33
return [
34
34
'Sets the' , axis , 'component of the arrow tail about the arrow head.' ,
35
- 'If `a' + axis + 'ref` is `pixel`, a positive (negative)' ,
35
+ 'If `a' + axis + 'ref` is `pixel`, a positive (negative)' ,
36
36
'component corresponds to an arrow pointing' ,
37
- 'from' , upper , 'to' , lower , '(' + lower , 'to' , upper + ').' ,
38
- 'If `a' + axis + 'ref` is not `pixel` and is exactly the same as `' + axis + 'ref`,' ,
37
+ 'from' , upper , 'to' , lower , '(' + lower , 'to' , upper + ').' ,
38
+ 'If `a' + axis + 'ref` is not `pixel` and is exactly the same as `' + axis + 'ref`,' ,
39
39
'this is an absolute value on that axis,' ,
40
- 'like `' + axis + '`, specified in the same coordinates as `' + axis + 'ref`.'
40
+ 'like `' + axis + '`, specified in the same coordinates as `' + axis + 'ref`.'
41
41
] . join ( ' ' ) ;
42
42
}
43
43
@@ -281,15 +281,15 @@ module.exports = templatedArray('annotation', {
281
281
role : 'info' ,
282
282
editType : 'calc+arraydraw' ,
283
283
description : [
284
- arrowCoordinateDescription ( 'x' , 'left' , 'right' )
284
+ arrowCoordinateDescription ( 'x' , 'left' , 'right' )
285
285
] . join ( ' ' )
286
286
} ,
287
287
ay : {
288
288
valType : 'any' ,
289
289
role : 'info' ,
290
290
editType : 'calc+arraydraw' ,
291
291
description : [
292
- arrowCoordinateDescription ( 'y' , 'top' , 'bottom' )
292
+ arrowCoordinateDescription ( 'y' , 'top' , 'bottom' )
293
293
] . join ( ' ' )
294
294
} ,
295
295
axref : {
0 commit comments