File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 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) {
292292 _this . plotContainer . selectAll ( '.scatterlayer,.maplayer' )
293293 . attr ( 'transform' , plotTransform ) ;
294294
295+ _this . clipDefRelative . attr ( 'transform' , null ) ;
296+
295297 // TODO: shift axes to accommodate linewidth*sin(30) tick mark angle
296298
297299 var bTransform = 'translate(' + x0 + ',' + ( y0 + h ) + ')' ;
@@ -616,6 +618,9 @@ proto.initInteractions = function() {
616618 _this . plotContainer . selectAll ( '.scatterlayer,.maplayer' )
617619 . attr ( 'transform' , plotTransform ) ;
618620
621+ var plotTransform2 = 'translate(' + - dx + ',' + - dy + ')' ;
622+ _this . clipDefRelative . attr ( 'transform' , plotTransform2 )
623+
619624 // move the ticks
620625 _this . aaxis . range = [ mins . a , _this . sum - mins . b - mins . c ] ;
621626 _this . baxis . range = [ _this . sum - mins . a - mins . c , mins . b ] ;
You can’t perform that action at this time.
0 commit comments