File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
292
292
_this . plotContainer . selectAll ( '.scatterlayer,.maplayer' )
293
293
. attr ( 'transform' , plotTransform ) ;
294
294
295
+ _this . clipDefRelative . attr ( 'transform' , null ) ;
296
+
295
297
// TODO: shift axes to accommodate linewidth*sin(30) tick mark angle
296
298
297
299
var bTransform = 'translate(' + x0 + ',' + ( y0 + h ) + ')' ;
@@ -616,6 +618,9 @@ proto.initInteractions = function() {
616
618
_this . plotContainer . selectAll ( '.scatterlayer,.maplayer' )
617
619
. attr ( 'transform' , plotTransform ) ;
618
620
621
+ var plotTransform2 = 'translate(' + - dx + ',' + - dy + ')' ;
622
+ _this . clipDefRelative . attr ( 'transform' , plotTransform2 )
623
+
619
624
// move the ticks
620
625
_this . aaxis . range = [ mins . a , _this . sum - mins . b - mins . c ] ;
621
626
_this . baxis . range = [ _this . sum - mins . a - mins . c , mins . b ] ;
You can’t perform that action at this time.
0 commit comments