rem: function (testid, ds) { try {  ds.color = baselineModule.color; onGraphLoadRemainder(ds); } catch(e) { log(e); } }); 
add: return function (testid, ds) { try { log("ds.firstTime " + ds.firstTime + " ds.lastTime " + ds.lastTime); if (!ds.firstTime || !ds.lastTime) {   for each (g in [BigPerfGraph, SmallPerfGraph]) { g.clearGraph();  } showStatus("No data in the given time range"); clearLoadingAnimation();  } else { ds.color = color; if (title) { ds.title = title; }  if (baselineDataSet) ds = ds.createRelativeTo(baselineDataSet);   var avgds = null; if (baselineDataSet == null && module.average) { avgds = ds.createAverage(gAverageInterval); }  if (avgds) log ("got avgds: (", module.id, ")", avgds.firstTime, avgds.lastTime, avgds.data.length);  for each (g in [BigPerfGraph, SmallPerfGraph]) { g.addDataSet(ds); if (avgds) g.addDataSet(avgds); if (g == SmallPerfGraph || autoExpand) { g.expandTimeRange(Math.max(ds.firstTime, gCurrentLoadRange ? gCurrentLoadRange[0] : ds.firstTime), Math.min(ds.lastTime, gCurrentLoadRange ? gCurrentLoadRange[1] : ds.lastTime)); }  g.autoScale();  g.redraw(); gReadyForRedraw = true; }   updateLinkToThis(); updateDumpToCsv();  }  } catch(e) { log(e); } }; 
context:                                      function (testid, ds) {                                         try {                                             //log ("Got results for baseline: '" + testid + "' ds: " + ds);                                             ds.color = baselineModule.color;                                             onGraphLoadRemainder(ds);                                         } catch(e) { log(e); }                                     });
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/ea3ebae56bc2ee7a9af9419b62b9cdd29537a492/graph.js/clean/webtools/new-graph/js/graph.js