@@ -943,6 +943,8 @@ proto.updateAngularDrag = function(fullLayout, polarLayout) {
943
943
var a0 ;
944
944
945
945
function moveFn ( dx , dy ) {
946
+ var fullLayoutNow = _this . gd . _fullLayout ;
947
+ var polarLayoutNow = fullLayoutNow [ _this . id ] ;
946
948
var x1 = x0 + dx ;
947
949
var y1 = y0 + dy ;
948
950
var a1 = xy2a ( x1 , y1 ) ;
@@ -964,6 +966,7 @@ proto.updateAngularDrag = function(fullLayout, polarLayout) {
964
966
layers [ 'angular-line' ] . select ( 'path' ) . attr ( 'transform' , trans ) ;
965
967
layers [ 'radial-axis' ] . attr ( 'transform' , trans2 ) ;
966
968
layers [ 'radial-line' ] . select ( 'line' ) . attr ( 'transform' , trans2 ) ;
969
+ _this . updateRadialAxisTitle ( fullLayoutNow , polarLayoutNow , rrot1 ) ;
967
970
} else {
968
971
_this . clipPaths . forTraces . select ( 'path' ) . attr ( 'transform' ,
969
972
strTranslate ( cxx , cyy ) + strRotate ( da )
@@ -1008,8 +1011,6 @@ proto.updateAngularDrag = function(fullLayout, polarLayout) {
1008
1011
var moduleCalcData = _this . traceHash [ k ] ;
1009
1012
var moduleCalcDataVisible = Lib . filterVisible ( moduleCalcData ) ;
1010
1013
var _module = moduleCalcData [ 0 ] [ 0 ] . trace . _module ;
1011
- var polarLayoutNow = gd . _fullLayout [ _this . id ] ;
1012
-
1013
1014
_module . plot ( gd , _this , moduleCalcDataVisible , polarLayoutNow ) ;
1014
1015
}
1015
1016
}
0 commit comments