@@ -261,7 +261,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
261261 _pos : 0 , // _this.xaxis.domain[0] * graphSize.w,
262262 _id : 'y' ,
263263 _length : w ,
264- _gridpath : 'M0,0l' + h + ',-' + ( w / 2 )
264+ _gridpath : 'M0,0l' + h + ',-' + ( w / 2 ) ,
265+ automargin : false // don't use automargins routine for labels
265266 } ) ;
266267 setConvert ( aaxis , _this . graphDiv . _fullLayout ) ;
267268 aaxis . setScale ( ) ;
@@ -280,7 +281,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
280281 _pos : 0 , // (1 - yDomain0) * graphSize.h,
281282 _id : 'x' ,
282283 _length : w ,
283- _gridpath : 'M0,0l-' + ( w / 2 ) + ',-' + h
284+ _gridpath : 'M0,0l-' + ( w / 2 ) + ',-' + h ,
285+ automargin : false // don't use automargins routine for labels
284286 } ) ;
285287 setConvert ( baxis , _this . graphDiv . _fullLayout ) ;
286288 baxis . setScale ( ) ;
@@ -301,7 +303,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
301303 _pos : 0 , // _this.xaxis.domain[1] * graphSize.w,
302304 _id : 'y' ,
303305 _length : w ,
304- _gridpath : 'M0,0l-' + h + ',' + ( w / 2 )
306+ _gridpath : 'M0,0l-' + h + ',' + ( w / 2 ) ,
307+ automargin : false // don't use automargins routine for labels
305308 } ) ;
306309 setConvert ( caxis , _this . graphDiv . _fullLayout ) ;
307310 caxis . setScale ( ) ;
0 commit comments