code: function() {
  	    if (lang.isObject(this.timer)) {
  			this.timer.cancel();
  			this.timer = null;
  		
  			var ctxt = this.getContext();
  			this.nextPoint(this.startX, this.startY);
  	
  			YAHOO.lang.later(1000, this, this.hide, 0, false);
  	    }
  	}
docs: End the drawing mode