rem: if (nw != document.getElementById("smallgraph").width) { document.getElementById("smallgraph").width = nw; document.styleSheets[0].cssRules[SmallGraphSizeRuleIndex].style.width = nw + "px"; SmallPerfGraph.resize(); 
add: if (args[0] == "range") { if (args[1] && args[2]) { var t1 = args[1]; var t2 = args[2];  var foundIndexes = [];    var foundPoints = false; var dss = BigPerfGraph.dataSets; for (var i = 0; i < dss.length; i++) { var idcs = dss[i].indicesForTimeRange(t1, t2); if (idcs[1] - idcs[0] > 1) { foundPoints = true; break; } foundIndexes.push(idcs); 
context:     ResizableBigGraph.init('graph', function (nw, nh) {                               document.styleSheets[0].cssRules[BigGraphSizeRuleIndex].style.width = nw + "px";                               document.styleSheets[0].cssRules[BigGraphSizeRuleIndex].style.height = nh + "px";                               BigPerfGraph.resize();                               if (nw != document.getElementById("smallgraph").width) {                                   document.getElementById("smallgraph").width = nw;                                   document.styleSheets[0].cssRules[SmallGraphSizeRuleIndex].style.width = nw + "px";                                   SmallPerfGraph.resize();                               }                           } );
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/ea3ebae56bc2ee7a9af9419b62b9cdd29537a492/graph.js/clean/webtools/new-graph/js/graph.js