support custom formatter for x axis labels