added support for ordinal scales on the tooltip