rem:  var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect"); bar.setAttribute("fill", data[j][i].series.color); bar.setAttribute("stroke-width", "0"); bar.setAttribute("x", xA); bar.setAttribute("y", y); bar.setAttribute("width", w); bar.setAttribute("height", barH); bar.setAttribute("fill-opacity", "0.6"); if(applyTo){ applyTo(bar, data[j][i].src); } group.appendChild(bar); 
context: 	HorizontalBar: function(		/* dojo.charting.PlotArea */plotarea,		/* dojo.charting.Plot */plot,		/* object? */kwArgs,		/* function? */applyTo	){		//	summary		//	Plots data in a set of grouped bars horizontally.		//	Bindings: y		var area = plotarea.getArea();		var group = document.createElementNS(dojo.svg.xmlns.svg, "g");				//	precompile the data		var n = plot.series.length;	//	how many series		var data = [];		for(var i=0; i<n; i++){			var tmp = plot.series[i].data.evaluate(kwArgs);			data.push(tmp);		}		var space = 6;		var nPoints = data[0].length;		var h = ((area.bottom-area.top)-(space*(nPoints-1)))/nPoints;		var barH = h/n;		var xOrigin = plot.axisX.getCoord(0, plotarea, plot);		for(var i=0; i<nPoints; i++){			//	calculate offset			var yStart = area.top+(h*i)+(space*i);			for(var j=0; j<n; j++){				var value = data[j][i].y;				var y = yStart + (barH*j);				var xA = xOrigin;				var x = plot.axisX.getCoord(value, plotarea, plot);				var w = Math.abs(x-xA);				if(value > 0){					x = xOrigin;				}								var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");				bar.setAttribute("fill", data[j][i].series.color);				bar.setAttribute("stroke-width", "0");				bar.setAttribute("x", xA);				bar.setAttribute("y", y);				bar.setAttribute("width", w);				bar.setAttribute("height", barH);				bar.setAttribute("fill-opacity", "0.6");				if(applyTo){ applyTo(bar, data[j][i].src); }				group.appendChild(bar);			}		}		return group;	//	SVGGElement	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Plotters.js/buggy/www/resources/dojo-ajax/src/charting/svg/Plotters.js