ColorScale.prototype.setMin = function (min) { this.clearMinValue = min; if (typeof this.normalize === 'function') { this.minValue = this.normalize(min); } else { this.minValue = min; } };
info at phpclasses dot org