File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -411,14 +411,16 @@ proto.updateRadialAxis = function(fullLayout, smithLayout) {
411
411
crisp : false
412
412
} ) ;
413
413
414
+ var font = ax . tickfont || { } ;
415
+
414
416
Axes . drawLabels ( gd , ax , {
415
417
vals : realStops . map ( function ( d ) {
416
418
return {
417
419
x : d ,
418
420
text : d ,
419
- font : ax . tickfont . family ,
420
- fontColor : ax . tickfont . color ,
421
- fontSize : ax . tickfont . size
421
+ font : font . family ,
422
+ fontColor : font . color ,
423
+ fontSize : font . size
422
424
} ;
423
425
} ) ,
424
426
layer : layers [ 'radial-axis' ] ,
@@ -606,12 +608,14 @@ proto.updateAngularAxis = function(fullLayout, smithLayout) {
606
608
var radius = _this . radius / v ;
607
609
var theta = 2.0 * Math . atan2 ( radius , _this . radius ) ;
608
610
611
+ var font = ax . tickfont || { } ;
612
+
609
613
return {
610
614
x : theta * 360.0 / ( 2 * Math . PI ) ,
611
615
text : v === Infinity ? '∞' : ( ( v === 0.0 ? '0 + 0' : v ) + 'j' ) ,
612
- font : ax . tickfont . family ,
613
- fontColor : ax . tickfont . color ,
614
- fontSize : ax . tickfont . size
616
+ font : font . family ,
617
+ fontColor : font . color ,
618
+ fontSize : font . size
615
619
} ;
616
620
} ) ,
617
621
layer : layers [ 'angular-axis' ] ,
You can’t perform that action at this time.
0 commit comments