if(this.opt.lowerBottom){ offsets.l = 50; }else{ offsets.r = 50; 
if(size){ var labelLength = 0; if(this.labels){ labelLength = df.foldl(dojo.map(this.labels, df.pluck("length")), Math.max); }else{ var s = this.scaler, a = this._getLabel(s.majorStart, s.majorPrecision).length, b = this._getLabel(s.majorStart + s.nMajorTicks * s.majorTick, s.majorPrecision).length, c = this._getLabel(s.minorStart, s.minorPrecision).length, d = this._getLabel(s.minorStart + s.nMinorTicks * s.minorTick, s.minorPrecision).length; labelLength = Math.max(a, b, c, d); } offset = Math.floor(size * labelLength * labelFudgeFactor) + labelGap; } offset += labelGap + Math.max(ta.majorTick.length, ta.minorTick.length); if(this.opt.leftBottom){ offsets.l = offset; }else{ offsets.r = offset; 
(function(){	var dc = dojox.charting, df = dojox.lang.functional;		dojo.declare("dojox.charting.plot2d.axes.Base", null, {		constructor: function(kwArgs, chart){			this.chart = chart;			this.vertical = kwArgs && kwArgs.vertical;		},		clear: function(){			return this;		},		initialized: function(){			return false;		},		calculate: function(min, max, span){			return this;		},		getScaler: function(){			return null;		},		getOffsets: function(){			return {l: 0, r: 0, t: 0, b: 0};		},		render: function(dim, offsets){			return this;		}	});	dojo.declare("dojox.charting.plot2d.axes.Default", dojox.charting.plot2d.axes.Base, {		constructor: function(kwArgs, chart){			this.opt = dojo.mixin({				fixUpper: "none",				fixLower: "none",				includeZero: false,				barsMode:    false,				natural:     false,				majorLabels: true,				minorLabels: true,				lowerBottom: true			}, kwArgs);		},		clear: function(){			delete this.scaler;			return this;		},		initialized: function(){			return "scaler" in this;		},		calculate: function(min, max, span, labels){			if(this.opt.includeZero){				if(min > 0){ min = 0; }				if(max < 0){ max = 0; }			}			//TODO: use non-zero label size			this.scaler = dojox.charting.scaler(min, max, span, 0, {fixUpper: this.opt.fixUpper, fixLower: this.opt.fixLower});			//TODO: fix the scaler to conform other kwArgs			return this;		},		getScaler: function(){			return this.scaler;		},		getOffsets: function(){			var offsets = {l: 0, r: 0, t: 0, b: 0};			//TODO: use real calculations to find margins			if(this.vertical){				if(this.opt.lowerBottom){					offsets.l = 50;				}else{					offsets.r = 50;				}			}else{				if(this.opt.lowerBottom){					offsets.b = 20;				}else{					offsets.t = 20;				}			}			return offsets;		},		render: function(dim, offsets){			return this;		}	});})();
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/a70db88fea487d869ca6e9ecac5a4cd9ed8efb38/axes.js/clean/charting/plot2d/axes.js