|  |  | @ -13,7 +13,7 @@ function ItemSet(body, options) { | 
			
		
	
		
			
				
					|  |  |  | this.body = body; | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | this.defaultOptions = { | 
			
		
	
		
			
				
					|  |  |  | type: 'box', | 
			
		
	
		
			
				
					|  |  |  | type: null,  // 'box', 'point', 'range', 'rangeoverflow' | 
			
		
	
		
			
				
					|  |  |  | orientation: 'bottom',  // 'top' or 'bottom' | 
			
		
	
		
			
				
					|  |  |  | align: 'center', // alignment of box items | 
			
		
	
		
			
				
					|  |  |  | stack: true, | 
			
		
	
	
		
			
				
					|  |  | @ -673,10 +673,7 @@ ItemSet.prototype._onUpdate = function(ids) { | 
			
		
	
		
			
				
					|  |  |  | ids.forEach(function (id) { | 
			
		
	
		
			
				
					|  |  |  | var itemData = me.itemsData.get(id, me.itemOptions), | 
			
		
	
		
			
				
					|  |  |  | item = me.items[id], | 
			
		
	
		
			
				
					|  |  |  | type = itemData.type || | 
			
		
	
		
			
				
					|  |  |  | (itemData.start && itemData.end && 'range') || | 
			
		
	
		
			
				
					|  |  |  | me.options.type || | 
			
		
	
		
			
				
					|  |  |  | 'box'; | 
			
		
	
		
			
				
					|  |  |  | type = itemData.type || me.options.type || (itemData.end ? 'range' : 'box'); | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
		
			
				
					|  |  |  | var constructor = ItemSet.types[type]; | 
			
		
	
		
			
				
					|  |  |  |  | 
			
		
	
	
		
			
				
					|  |  |  |