docs: function computeOffsets(table, ticks, min, max, options) {
  	var start = 0;
  	var end = 0;
  	var first, last;
  
  	if (options.offset && ticks.length) {
  		if (!options.time.min) {
  			first = interpolate$1(table, 'time', ticks[0], 'pos');
  			if (ticks.length === 1) {
  				start = 1 - first;
  			} else {
  				start = (interpolate$1(table, 'time', ticks[1], 'pos') - first) / 2;
  			}
  		}
  		if (!options.time.max) {
  			last = interpolate$1(table, 'time', ticks[ticks.length - 1], 'pos');
  			if (ticks.length === 1) {
  				end = last;
  			} else {
  				end = (last - interpolate$1(table, 'time', ticks[ticks.length - 2], 'pos')) / 2;
  			}
  		}
  	}
  
  	return {start: start, end: end};
  }