function computeColor(name) {
            return chartGradientColors ? `url(#${chartGradientId})` : colorMap(name);
        }
A utility function that checks if custom gradient
color map should be applied if specified by the user
@param {String} name - bar's data point name
@return {void}
@private