rem: var text = document.createElement("div"); var s=text.style; text.innerHTML=label; s.fontSize=textSize+"px"; s.fontFamily="sans-serif"; s.position="absolute"; s.top = y+"px"; if(anchor == "center"){ s.left = x + "px"; s.textAlign="center"; } else if (anchor == "left"){ s.left = x + "px"; s.textAlign="left"; } else if (anchor == "right"){ s.right = x + "px"; s.textAlign="right"; } return text; }; 
add: var text = document.createElement("div"); var s=text.style; text.innerHTML=label; s.fontSize=textSize+"px"; s.fontFamily="sans-serif"; s.position="absolute"; s.top = y+"px"; if(anchor == "center"){ s.left = x + "px"; s.textAlign="center"; } else if (anchor == "left"){ s.left = x + "px"; s.textAlign="left"; } else if (anchor == "right"){ s.right = x + "px"; s.textAlign="right"; } return text; }; 
context: 		function createLabel(label, x, y, textSize, anchor){			var text = document.createElement("div");			var s=text.style;			text.innerHTML=label;			s.fontSize=textSize+"px";			s.fontFamily="sans-serif";			s.position="absolute";			s.top = y+"px";			if(anchor == "center"){				s.left = x + "px";				s.textAlign="center";			} else if (anchor == "left"){				s.left = x + "px";				s.textAlign="left";			} else if (anchor == "right"){				s.right = x + "px";				s.textAlign="right";			}			return text;		};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Axis.js/buggy/www/resources/dojo-ajax/src/charting/vml/Axis.js