src/echarts.js
function updateBlend(seriesModel, chartView) {
    var blendMode = seriesModel.get('blendMode') || null;
    if (__DEV__) {
        if (!env.canvasSupported && blendMode && blendMode !== 'source-over') {
            console.warn('Only canvas support blendMode');
        }
    }
    chartView.group.traverse(function (el) {
        // FIXME marker and other components
        if (!el.isGroup) {
            // Only set if blendMode is changed. In case element is incremental and don't wan't to rerender.
            if (el.style.blend !== blendMode) {
                el.setStyle('blend', blendMode);
            }
        }
        if (el.eachPendingDisplayable) {
            el.eachPendingDisplayable(function (displayable) {
                displayable.setStyle('blend', blendMode);
            });
        }
    });
}
function updateBlend(seriesModel, chartView) {
    var blendMode = seriesModel.get('blendMode') || null;
    if (__DEV__) {
        if (!env.canvasSupported && blendMode && blendMode !== 'source-over') {
            console.warn('Only canvas support blendMode');
        }
    }
    chartView.group.traverse(function (el) {
        // FIXME marker and other components
        if (!el.isGroup) {
            // Only set if blendMode is changed. In case element is incremental and don't wan't to rerender.
            if (el.style.blend !== blendMode) {
                el.setStyle('blend', blendMode);
            }
        }
        if (el.eachPendingDisplayable) {
            el.eachPendingDisplayable(function (displayable) {
                displayable.setStyle('blend', blendMode);
            });
        }
    });
}
function updateBlend ( seriesModel , chartView ) { var blendMode = seriesModel . get ( 'blendMode' ) || null ; if ( __DEV__ ) { if ( ! env . canvasSupported && blendMode && blendMode !== 'source-over' ) { console . warn ( 'Only canvas support blendMode' ) ; } } chartView . group . traverse ( function ( el ) { // FIXME marker and other components if ( ! el . isGroup ) { // Only set if blendMode is changed. In case element is incremental and don't wan't to rerender. if ( el . style . blend !== blendMode ) { el . setStyle ( 'blend' , blendMode ) ; } } if ( el . eachPendingDisplayable ) { el . eachPendingDisplayable ( function ( displayable ) { displayable . setStyle ( 'blend' , blendMode ) ; } ) ; } } ) ; }
Update chart progressive and blend.
@param {module:echarts/model/Series|module:echarts/model/Component} model
@param {module:echarts/view/Component|module:echarts/view/Chart} view
Update chart progressive and blend .