calculate the y-axis tic-label widths based on the labels actually used