Please consider merging in the following

Added setTickLabelFormatFunction to give more flexibility when formatting labels.