Fix TODO and estimate the label size for the x axis.