src/chart/custom.js
function updateCache(dataIndexInside) {
        dataIndexInside == null && (dataIndexInside = currDataIndexInside);
        if (currDirty) {
            currItemModel = data.getItemModel(dataIndexInside);
            currLabelNormalModel = currItemModel.getModel(LABEL_NORMAL);
            currLabelEmphasisModel = currItemModel.getModel(LABEL_EMPHASIS);
            currVisualColor = data.getItemVisual(dataIndexInside, 'color');

            currDirty = false;
        }
    }
function updateCache(dataIndexInside) {
        dataIndexInside == null && (dataIndexInside = currDataIndexInside);
        if (currDirty) {
            currItemModel = data.getItemModel(dataIndexInside);
            currLabelNormalModel = currItemModel.getModel(LABEL_NORMAL);
            currLabelEmphasisModel = currItemModel.getModel(LABEL_EMPHASIS);
            currVisualColor = data.getItemVisual(dataIndexInside, 'color');

            currDirty = false;
        }
    }
function updateCache ( dataIndexInside ) { dataIndexInside == null && ( dataIndexInside = currDataIndexInside ) ; if ( currDirty ) { currItemModel = data . getItemModel ( dataIndexInside ) ; currLabelNormalModel = currItemModel . getModel ( LABEL_NORMAL ) ; currLabelEmphasisModel = currItemModel . getModel ( LABEL_EMPHASIS ) ; currVisualColor = data . getItemVisual ( dataIndexInside , 'color' ) ; currDirty = false ; } }
Do not update cache until api called.
Do not update cache until api called .