1
0
Fork 0
forked from 0x2620/oxjs

update Ox.Chart

This commit is contained in:
rlx 2012-03-26 19:26:28 +00:00
commit c5af338d2d
4 changed files with 178 additions and 37 deletions

View file

@ -76,7 +76,7 @@ Ox.load.Geo = function(options, callback) {
@*/
Ox.COUNTRIES = data;
var colors = {
Ox.GEO_COLORS = {
'North America': [0, 0, 255],
'Northern America': [0, 0, 255],
@ -217,7 +217,7 @@ Ox.load.Geo = function(options, callback) {
};
Ox.getGeoColor = function(str) {
return colors[str] || [128, 128, 128];
return Ox.GEO_COLORS[str] || [128, 128, 128];
};
callback(true);