Allow tooltips to override the X and Y format

We needed to display the values differently on the axis versus the
tooltip, so this preserves the default behavior, but allows the consumer
to override the format in the tooltip.