Allows axis label formatter function to be set via the options

Axis label formatter option was only applied to grouped labels. Now it
is working across all of them.