src/component/dataZoom/DataZoomModel.js
function (opt, ignoreUpdateRangeUsg) {
        var option = this.option;
        each([['start', 'startValue'], ['end', 'endValue']], function (names) {
            // If only one of 'start' and 'startValue' is not null/undefined, the other
            // should be cleared, which enable clear the option.
            // If both of them are not set, keep option with the original value, which
            // enable use only set start but not set end when calling `dispatchAction`.
            // The same as 'end' and 'endValue'.
            if (opt[names[0]] != null || opt[names[1]] != null) {
                option[names[0]] = opt[names[0]];
                option[names[1]] = opt[names[1]];
            }
        }, this);

        !ignoreUpdateRangeUsg && updateRangeUse(this, opt);
    }
function (opt, ignoreUpdateRangeUsg) {
        var option = this.option;
        each([['start', 'startValue'], ['end', 'endValue']], function (names) {
            // If only one of 'start' and 'startValue' is not null/undefined, the other
            // should be cleared, which enable clear the option.
            // If both of them are not set, keep option with the original value, which
            // enable use only set start but not set end when calling `dispatchAction`.
            // The same as 'end' and 'endValue'.
            if (opt[names[0]] != null || opt[names[1]] != null) {
                option[names[0]] = opt[names[0]];
                option[names[1]] = opt[names[1]];
            }
        }, this);

        !ignoreUpdateRangeUsg && updateRangeUse(this, opt);
    }
function ( opt , ignoreUpdateRangeUsg ) { var option = this . option ; each ( [ [ 'start' , 'startValue' ] , [ 'end' , 'endValue' ] ] , function ( names ) { // If only one of 'start' and 'startValue' is not null/undefined, the other // should be cleared, which enable clear the option. // If both of them are not set, keep option with the original value, which // enable use only set start but not set end when calling `dispatchAction`. // The same as 'end' and 'endValue'. if ( opt [ names [ 0 ] ] != null || opt [ names [ 1 ] ] != null ) { option [ names [ 0 ] ] = opt [ names [ 0 ] ] ; option [ names [ 1 ] ] = opt [ names [ 1 ] ] ; } } , this ) ; ! ignoreUpdateRangeUsg && updateRangeUse ( this , opt ) ; }
If not specified, set to undefined.

@public
@param {Object} opt
@param {number} [opt.start]
@param {number} [opt.end]
@param {number} [opt.startValue]
@param {number} [opt.endValue]
@param {boolean} [ignoreUpdateRangeUsg=false]
If not specified set to undefined .