Add ability to specify the formatter used for the x axis.