@@ -59,7 +59,7 @@ function handleAnnotationDefaults(annIn, fullLayout) {
5959 coerce ( 'arrowwidth' , ( ( borderOpacity && borderWidth ) || 1 ) * 2 ) ;
6060 coerce ( 'ax' ) ;
6161 coerce ( 'ay' ) ;
62- coerce ( 'absoluteArrowTail ' ) ;
62+ coerce ( 'absolutetail ' ) ;
6363
6464 // if you have one part of arrow length you should have both
6565 Lib . noneOrAll ( annIn , annOut , [ 'ax' , 'ay' ] ) ;
@@ -91,7 +91,7 @@ function handleAnnotationDefaults(annIn, fullLayout) {
9191 newval = Lib . dateTime2ms ( annIn [ axLetter ] ) ;
9292 if ( newval !== false ) annIn [ axLetter ] = newval ;
9393
94- if ( annIn . absoluteArrowTail ) {
94+ if ( annIn . absolutetail ) {
9595 var newvalB = Lib . dateTime2ms ( annIn [ 'a' + axLetter ] ) ;
9696 if ( newvalB !== false ) annIn [ 'a' + axLetter ] = newvalB ;
9797 }
@@ -456,7 +456,7 @@ annotations.draw = function(gd, index, opt, value) {
456456 }
457457
458458 var alignShift = 0 ;
459- if ( options . absoluteArrowTail ) {
459+ if ( options . absolutetail ) {
460460 annPosPx [ 'aa' + axLetter ] = ax . _offset + ax . l2p ( options [ 'a' + axLetter ] ) ;
461461 } else {
462462 if ( options . showarrow ) {
@@ -486,7 +486,7 @@ annotations.draw = function(gd, index, opt, value) {
486486 // make sure the arrowhead (if there is one)
487487 // and the annotation center are visible
488488 if ( options . showarrow ) {
489- if ( options . absoluteArrowTail ) {
489+ if ( options . absolutetail ) {
490490 arrowX = Lib . constrain ( annPosPx . x , 1 , fullLayout . width - 1 ) ;
491491 arrowY = Lib . constrain ( annPosPx . y , 1 , fullLayout . height - 1 ) ;
492492 } else {
@@ -512,7 +512,7 @@ annotations.draw = function(gd, index, opt, value) {
512512 outerwidth - borderwidth , outerheight - borderwidth ) ;
513513
514514 var annX = 0 , annY = 0 ;
515- if ( options . absoluteArrowTail ) {
515+ if ( options . absolutetail ) {
516516 annX = Math . round ( annPosPx . aax - outerwidth / 2 ) ;
517517 annY = Math . round ( annPosPx . aay - outerheight / 2 ) ;
518518 } else {
@@ -539,7 +539,7 @@ annotations.draw = function(gd, index, opt, value) {
539539 // how-to-get-the-width-of-an-svg-tspan-element
540540 var arrowX0 , arrowY0 ;
541541
542- if ( options . absoluteArrowTail ) {
542+ if ( options . absolutetail ) {
543543 arrowX0 = annPosPx . aax + dx ;
544544 arrowY0 = annPosPx . aay + dy ;
545545 } else {
@@ -648,7 +648,7 @@ annotations.draw = function(gd, index, opt, value) {
648648 ( options . y + dy / ya . _m ) :
649649 ( 1 - ( ( arrowY + dy - gs . t ) / gs . h ) ) ;
650650
651- if ( options . absoluteArrowTail ) {
651+ if ( options . absolutetail ) {
652652 update [ annbase + '.ax' ] = xa ?
653653 ( options . ax + dx / xa . _m ) :
654654 ( ( arrowX + dx - gs . l ) / gs . w ) ;
@@ -698,7 +698,7 @@ annotations.draw = function(gd, index, opt, value) {
698698 ann . call ( Lib . setTranslate , x0 + dx , y0 + dy ) ;
699699 var csr = 'pointer' ;
700700 if ( options . showarrow ) {
701- if ( options . absoluteArrowTail ) {
701+ if ( options . absolutetail ) {
702702 update [ annbase + '.ax' ] = xa . p2l ( xa . l2p ( options . ax ) + dx ) ;
703703 update [ annbase + '.ay' ] = ya . p2l ( ya . l2p ( options . ay ) + dy ) ;
704704 } else {
0 commit comments