docs: function getXPosAdjustedForKink(pos) {   
      var first = clinicalTimelineUtil.getLowerBoundIndex(ticksToShow, pos);
      var second = first + 1;
  
      if (second > ticksToShow.length - 1) {
        return tickCoordinatesKink[first];
      }
      return tickCoordinatesKink[first] + (pos - ticksToShow[first]) * (tickCoordinatesKink[second] - tickCoordinatesKink[first]) / (ticksToShow[second] - ticksToShow[first]);
    }