 					}
 					
 					var h:Number =  int((stage.stageHeight - 2 * oy) / numline);
+					var numDot:int = 0;
+					var n:String = h + "";
+					var di:int = n.indexOf(".");
+					if (di ==-1){
+						numDot = 0;
+					}else{
+						n=n.substr(di+1)
+						numDot = n.length;
+					}
+					trace("小数点位数",numDot);
 					for (var i:int = 0; i <= numline; i++ ){
 						var y:Number = getY(minV + i, minV, maxV, s, h);
 						drawDashLine(kline.graphics, 0, y, w-ox, y,2);

						tf.defaultTextFormat=new TextFormat("Courier New",fontsize);
						tf.autoSize = "left";
						kline.addChild(tf);
						tf.text = ""+((minV + i)*s).toFixed(2);
						tf.y = y-tf.height/2;
						tf.x = w-ox;
					}

			loader.addEventListener(Event.COMPLETE, loader_complete);
			loader.load(new URLRequest(
				//"http://120.26.39.108:9090/getNewMobilePrice.do?pcode=XTAG100G"
				"http://121.43.100.114:9095/pass/newMarketTimeList?pcode=CU10"
				+"&v="+Math.random()));
			//todo del
			//addData(10*Math.random());
