code: function calculateHorizontals(segments) {
  		var isRTL = opt('isRTL');
  		for (var i=0; i<segments.length; i++) {
  			var segment = segments[i];
  
  			// Determine functions used for calulating the elements left/right coordinates,
  			// depending on whether the view is RTL or not.
  			// NOTE:
  			// colLeft/colRight returns the coordinate butting up the edge of the cell.
  			// colContentLeft/colContentRight is indented a little bit from the edge.
  			var leftFunc = (isRTL ? segment.isEnd : segment.isStart) ? colContentLeft : colLeft;
  			var rightFunc = (isRTL ? segment.isStart : segment.isEnd) ? colContentRight : colRight;
  
  			var left = leftFunc(segment.leftCol);
  			var right = rightFunc(segment.rightCol);
  			segment.left = left;
  			segment.outerWidth = right - left;
  		}
  	}
docs: Sets the `left` and `outerWidth` property of each segment. These values are the desired dimensions for the eventual DOM elements.