stroke = run.stroke ? run.stroke : augmentStroke(t.series.stroke, color); fill = run.fill ? run.fill : augmentFill(t.series.fill, color); for(var j = 0; j < run.data.length; ++j){ var v = run.data[j]; s.createRect({ x: offsets.l, y: dim.height - offsets.b - this._vScaler.scale * (j + 1.5 - this._vScaler.lowerBound) + gap + thickness * (this.series.length - i - 1), width:  this._hScaler.scale * (v - this._hScaler.lowerBound), height: thickness }).setFill(fill).setStroke(stroke); 
} if(this.opt.hMajorLines){ for(var i = 0; i < scaler.nMajorTicks; ++i){ var y = dim.height - offsets.b - scaler.scale * (scaler.majorStart + i * scaler.majorTick); s.createLine({ x1: offsets.l, y1: y, x2: dim.width - offsets.r, y2: y }).setStroke(ta.majorTick); } }  scaler = this._hAxis.getScaler(); if(this.opt.vMinorLines){ for(var i = 0; i < scaler.nMinorTicks; ++i){ var x = offsets.l + scaler.scale * (scaler.minorStart + i * scaler.minorTick); s.createLine({ x1: x, y1: offsets.t, x2: x, y2: dim.height - offsets.b }).setStroke(ta.minorTick); } } if(this.opt.vMajorLines){ for(var i = 0; i < scaler.nMajorTicks; ++i){ var x = offsets.l + scaler.scale * (scaler.majorStart + i * scaler.majorTick); s.createLine({ x1: x, y1: offsets.t, x2: x, y2: dim.height - offsets.b }).setStroke(ta.majorTick); 
		render: function(dim, offsets){			var t = this.chart.theme, s = this.chart.surface,				gap = this.opt.gap < this._vScaler.scale / 3 ? this.opt.gap : 0,				thickness = (this._vScaler.scale - 2 * gap) / this.series.length;			for(var i = this.series.length - 1; i >= 0; --i){				var run = this.series[i], color, stroke, fill, f;				if(!run.fill || !run.stroke){					// need autogenerated color					color = new dojo.Color(t.next("color"));				}				stroke = run.stroke ? run.stroke : augmentStroke(t.series.stroke, color);				fill = run.fill ? run.fill : augmentFill(t.series.fill, color);				for(var j = 0; j < run.data.length; ++j){					var v = run.data[j];					s.createRect({						x: offsets.l,						y: dim.height - offsets.b - this._vScaler.scale * (j + 1.5 - this._vScaler.lowerBound) 							+ gap + thickness * (this.series.length - i - 1),						width:  this._hScaler.scale * (v - this._hScaler.lowerBound),						height: thickness					}).setFill(fill).setStroke(stroke);				}			}			return this;		}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/962387f230854aaaad6cadaba576eb46d2a53161/renderers.js/clean/charting/plot2d/renderers.js