function isCenterAlign(align) {
    return align === 'center' || align === 'middle';
}
@param {Array.<string>} stateList
@param {Object} visualMappings <state, Object.<visualType, module:echarts/visual/VisualMapping>>
@param {module:echarts/data/List} list
@param {Function} getValueState param: valueOrIndex, return: state.
@param {object} [scope] Scope for getValueState
@param {string} [dimension] Concrete dimension, if used.