var ColorScale = function (colors, normalizeFunction, minValue, maxValue) {
if (colors) {
this.setColors(colors);
}
if (normalizeFunction) {
this.setNormalizeFunction(normalizeFunction);
}
if (minValue) {
this.setMin(minValue);
}
if (minValue) {
this.setMax(maxValue);
}
};
ColorScale.prototype = {
colors: []
};
|