rem: graphModule.average) 
add: module.average) 
context:             return function (testid, ds) {                try {                    ds.color = module.color;                    if (baselineDataSet)                        ds = ds.createRelativeTo(baselineDataSet);                    log ("got ds:", ds.firstTime, ds.lastTime, ds.data.length);                    var avgds = null;                    if (baselineDataSet == null &&                        graphModule.average)                    {                        avgds = ds.createAverage(gAverageInterval);                    }                    if (avgds)                        log ("got avgds:", 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();                } catch(e) { log(e); }            };
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5939a8cb316480d27c62af6f9e5b780502388ec2/graph.js/buggy/webtools/new-graph/js/graph.js