7 lines
No EOL
147 B
JavaScript
7 lines
No EOL
147 B
JavaScript
jvm.OrdinalScale = function(scale){
|
|
this.scale = scale;
|
|
};
|
|
|
|
jvm.OrdinalScale.prototype.getValue = function(value){
|
|
return this.scale[value];
|
|
}; |