@@ -261,7 +261,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
261
261
_pos : 0 , // _this.xaxis.domain[0] * graphSize.w,
262
262
_id : 'y' ,
263
263
_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
265
266
} ) ;
266
267
setConvert ( aaxis , _this . graphDiv . _fullLayout ) ;
267
268
aaxis . setScale ( ) ;
@@ -280,7 +281,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
280
281
_pos : 0 , // (1 - yDomain0) * graphSize.h,
281
282
_id : 'x' ,
282
283
_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
284
286
} ) ;
285
287
setConvert ( baxis , _this . graphDiv . _fullLayout ) ;
286
288
baxis . setScale ( ) ;
@@ -301,7 +303,8 @@ proto.adjustLayout = function(ternaryLayout, graphSize) {
301
303
_pos : 0 , // _this.xaxis.domain[1] * graphSize.w,
302
304
_id : 'y' ,
303
305
_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
305
308
} ) ;
306
309
setConvert ( caxis , _this . graphDiv . _fullLayout ) ;
307
310
caxis . setScale ( ) ;
0 commit comments