function applyDim(resultItem, coordDim, coordDimIndex) {
        if (OTHER_DIMENSIONS.get(coordDim) != null) {
            resultItem.otherDims[coordDim] = coordDimIndex;
        }
        else {
            resultItem.coordDim = coordDim;
            resultItem.coordDimIndex = coordDimIndex;
            coordDimNameMap.set(coordDim, true);
        }
    }
@param {module:echarts/data/Source|module:echarts/data/List} source or data.
@param {Object|Array} [opt]
@param {Array.<string|Object>} [opt.coordDimensions=[]]
@param {number} [opt.dimensionsCount]
@param {string} [opt.generateCoord]
@param {string} [opt.generateCoordCount]
@param {Array.<string|Object>} [opt.dimensionsDefine=source.dimensionsDefine] Overwrite source define.
@param {Object|HashMap} [opt.encodeDefine=source.encodeDefine] Overwrite source define.
@param {Function} [opt.encodeDefaulter] Make default encode if user not specified.
@return {Array.<Object>} dimensionsInfo