Truncate the x-axis text when it is too long