@@ -16,28 +16,28 @@ var axisPlaceableObjs = require('../../constants/axis_placeable_objects');
1616
1717function arrowAxisRefDescription ( axis ) {
1818 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 +
2121 '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 + '*.' ,
2525 'Absolute positioning is useful' ,
2626 'for trendline annotations which should continue to indicate' ,
2727 'the correct trend when zoomed. Relative positioning is useful' ,
2828 'for specifying the text offset for an annotated point.'
2929 ] . join ( ' ' ) ;
3030}
3131
32- function arrowCoordinateDescription ( axis , lower , upper ) {
32+ function arrowCoordinateDescription ( axis , lower , upper ) {
3333 return [
3434 '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)' ,
3636 '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`,' ,
3939 '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`.'
4141 ] . join ( ' ' ) ;
4242}
4343
@@ -281,15 +281,15 @@ module.exports = templatedArray('annotation', {
281281 role : 'info' ,
282282 editType : 'calc+arraydraw' ,
283283 description : [
284- arrowCoordinateDescription ( 'x' , 'left' , 'right' )
284+ arrowCoordinateDescription ( 'x' , 'left' , 'right' )
285285 ] . join ( ' ' )
286286 } ,
287287 ay : {
288288 valType : 'any' ,
289289 role : 'info' ,
290290 editType : 'calc+arraydraw' ,
291291 description : [
292- arrowCoordinateDescription ( 'y' , 'top' , 'bottom' )
292+ arrowCoordinateDescription ( 'y' , 'top' , 'bottom' )
293293 ] . join ( ' ' )
294294 } ,
295295 axref : {
0 commit comments