%PDF- %PDF-
Direktori : /home/medipszd/www/bower_components/jvectormap/src/ |
Current File : /home/medipszd/www/bower_components/jvectormap/src/ordinal-scale.js |
jvm.OrdinalScale = function(scale){ this.scale = scale; }; jvm.OrdinalScale.prototype.getValue = function(value){ return this.scale[value]; }; jvm.OrdinalScale.prototype.getTicks = function(){ var ticks = [], key; for (key in this.scale) { ticks.push({ label: key, value: this.scale[key] }); } return ticks; };