add: log ("autoScale: yscale:", this.yScale, "yoff:", this.yOffset); 
context:     autoScale: function () {        if (this.dirty)            this.recompute();        var vmin, vmax;        if (this.hasRelative) {            vmin = Math.floor(this.dataSetMinMinVal);            vmax = Math.ceil(this.dataSetMaxMaxVal);            if ((vmax - vmin) == 1)                vmin--;            log ("vmin", vmin, "vmax", vmax);            this.yOffset = vmin;            this.yScale = this.frontBuffer.height / (vmax - vmin);            this.dirty = true;            return;        }        var delta = this.dataSetMaxMaxVal - this.dataSetMinMinVal;        var scaled = false;        for each (var sfactor in [1000, 500, 250, 100, 25, 10, 1]) {            if (delta > sfactor) {                vmin = this.dataSetMinMinVal - (this.dataSetMinMinVal % sfactor);                vmax = (this.dataSetMaxMaxVal - (this.dataSetMaxMaxVal % sfactor)) + sfactor;                this.yOffset = vmin;                this.yScale = this.frontBuffer.height / (vmax - vmin);                scaled = true;                break;            }        }        if (!scaled) {            this.yOffset = this.dataSetMinMinVal;            this.yScale = this.frontBuffer.height / (this.dataSetMaxMaxVal - this.dataSetMinMinVal);        }        // we have to dirty again, due to the labels        this.dirty = true;    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/096cddc554894ffdd3e37499a7542568f6c9e82a/graph.js/clean/webtools/new-graph/js/graph.js