rem: zoomToTimes(t1, t2); 
add: zoomToTimes(t1, t2, skipAutoScale); 
context: function onNewRangeClick(ev){    var which = this.textContent;    var activeIds = [];    var dss = SmallPerfGraph.dataSets;    if (dss.length == 0)        return;    $("#activetests .testline").each(function (k,v) { activeIds.push(testIdFromElement(v)); });    var range = dataSetsRange(dss);    var tnow = Date.now() / 1000;    log ('tnow: ' + tnow + " range " + range);    var t1, t2;    if (which == "All") {        t1 = range[0];        t2 = range[1];    } else if (which == "Custom...") {    } else if (which == "Older" || which == "Newer") {    } else {        var m;        var tlength = null;        var mult = { d: ONE_DAY_SECONDS, m: 4*ONE_WEEK_SECONDS, y: ONE_YEAR_SECONDS };        m = which.match(/^(\d+)([dmy])$/);        if (!m)            return;        tlength = parseInt(m[1]) * mult[m[2]];        t2 = tnow;        t1 = t2 - tlength;    }    SmallPerfGraph.setTimeRange(t1, t2);    SmallPerfGraph.autoScale();    SmallPerfGraph.redraw();    if (SmallPerfGraph.selectionStartTime &&        SmallPerfGraph.selectionEndTime)    {        t1 = Math.max(SmallPerfGraph.selectionStartTime, t1);        t2 = Math.min(SmallPerfGraph.selectionEndTime, t2);    }    // nothing was selected    zoomToTimes(t1, t2);}
meta: 2092	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2092/7359a17750b5a31b89e38c768d4aa1a55ae73300/graph-2.js/clean/js/graph-2.js