function formatKey(key) {
            if(xAxisValueType === 'number') {
                return Number(key);
            }

            return formatDate(new Date(key));
        }
Get formatted key to show in the tooltip title
@param {Date | String} key   Key to format
@return {String}     Formatted Key
@private