rem: var bar=document.createElement("v:rect"); bar.style.position="absolute"; bar.style.top=y+1+"px"; bar.style.left=x+"px"; bar.style.width=w+"px"; bar.style.height=h+"px"; bar.setAttribute("fillColor", data[i].series.color); bar.setAttribute("stroked", "false"); bar.style.antialias="false"; var fill=document.createElement("v:fill"); fill.setAttribute("opacity", "0.6"); bar.appendChild(fill); if(applyTo){ applyTo(bar, data[i].src); } group.appendChild(bar); } return group; }, 
add: return group; }, 
context: 	DataBar: function(		/* array */data, 		/* dojo.charting.PlotArea */plotarea,		/* dojo.charting.Plot */plot,		/* function? */applyTo	){		//	summary		//	Plots a set of bars in relation to y==0.		//	Bindings: x/y		var area = plotarea.getArea();		var group = document.createElement("div");		group.style.position="absolute";		group.style.top="0px";		group.style.left="0px";		group.style.width=plotarea.size.width+"px";		group.style.height=plotarea.size.height+"px";				var n = data.length;		var w = (area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower);	//	the width of each group.		var yOrigin = plot.axisY.getCoord(plot.axisX.origin, plotarea, plot);		for(var i=0; i<n; i++){			//	calculate offset			var value = data[i].y;			var yA = yOrigin;			var x = plot.axisX.getCoord(data[i].x, plotarea, plot)-(w/2)+1;			var y = plot.axisY.getCoord(value, plotarea, plot);			var h = Math.abs(yA-y);			if(value < plot.axisX.origin){				yA = y;				y = yOrigin;			}			var bar=document.createElement("v:rect");			bar.style.position="absolute";			bar.style.top=y+1+"px";			bar.style.left=x+"px";			bar.style.width=w+"px";			bar.style.height=h+"px";			bar.setAttribute("fillColor", data[i].series.color);			bar.setAttribute("stroked", "false");			bar.style.antialias="false";			var fill=document.createElement("v:fill");			fill.setAttribute("opacity", "0.6");			bar.appendChild(fill);			if(applyTo){ applyTo(bar, data[i].src); }			group.appendChild(bar);		}		return group;	//	HTMLDivElement	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Plotters.js/buggy/www/resources/dojo-ajax/src/charting/vml/Plotters.js