Lines Matching +refs:label +refs:position

34 	 	 * Placeholder for position.
58 if(this.position != "top")
77 …var horizontalY:Number = this.position == "top" ? this.contentBounds.y : this.contentBounds.y + th…
98 …var axisPosition:Number = this.position == "top" ? this.contentBounds.y : this.contentBounds.y + t…
99 if(this.position == "top") tickLength *= -1;
103 if(isNaN(axisData.position))
109 var position:Number = axisData.position;
110 position += this.contentBounds.x;
115 this.graphics.moveTo(position, axisPosition);
116 this.graphics.lineTo(position, axisPosition + tickLength);
120 this.graphics.moveTo(position, axisPosition - tickLength);
121 this.graphics.lineTo(position, axisPosition);
125 this.graphics.moveTo(position, axisPosition - tickLength / 2);
126 this.graphics.lineTo(position, axisPosition + tickLength / 2);
142 var label:BitmapText = BitmapText(this.labelTextFields[i]);
143 label.rotation = 0;
145 var position:Number = axisData.position;
146 position += this.contentBounds.x;
148 label.x = position;
151 if(this.position == "top")
153 label.y = this.contentBounds.y - labelDistance - this.outerTickOffset;
156 label.rotation = labelRotation;
157 label.x -= Math.cos(labelRotation * Math.PI/180) * label.contentWidth;
158 label.x += Math.sin(labelRotation * Math.PI/180) * label.contentHeight/2;
159 label.y -= Math.sin(labelRotation * Math.PI/180) * label.contentWidth;
160label.y -= Math.cos(labelRotation * Math.PI/180) * label.contentHeight * (1 - labelRotation/90);
164label.y -= Math.cos(Math.abs(labelRotation) * Math.PI/180) * label.contentHeight * (1 - absRotatio…
165 label.x -= Math.sin(Math.abs(labelRotation) * Math.PI/180) * label.contentHeight/2;
166 label.rotation = labelRotation;
170 label.y -= label.height;
171 label.x = position - label.width / 2;
176label.y = this.contentBounds.y + this.contentBounds.height + labelDistance + this.outerTickOffset;
179 label.x = position;
180 label.y -= (label.height * labelRotation / 180);
181 DynamicRegistration.rotate(label, new Point(0, label.height / 2), labelRotation);
185 label.x = position - label.width;
186 label.y -= (label.height * Math.abs(labelRotation) / 180);
187 DynamicRegistration.rotate(label, new Point(label.width, label.height / 2), labelRotation);
191 label.x = position - label.width / 2;
195 label.x = Math.round(label.x);
196 label.y = Math.round(label.y);
219 var label:BitmapText = BitmapText(this.labelTextFields[index]);
220 label.visible = true;
227 diff = Math.abs(label.x - lastVisibleLabel.x);
245 diff = (lastVisibleLabel.x + lastVisibleLabel.width) - (label.x + label.width);
246 maxWidth = label.rotationWidth;
249 idealDistance = label.textField.textHeight;
253 idealDistance = label.textField.textWidth;
257 … idealDistance = label.textField.textHeight / (Math.sin((Math.abs(labelRotation))*Math.PI/180));
258 idealDistance = Math.min(idealDistance, label.width);
263 label.visible = false;
266 if(label.visible)
268 lastVisibleLabel = label;