I don't know if this has been talked about yet, so forgive me if it
has. I'm basically using the Google Visualization API to create a map
of the US, and was wondering if there was anyway to use state
abbreviations in the map code. I have tried and it does not seem to
work. I didn't know if there was a variable option for it or something
like that. The table I am pulling information from saves states as
their abbreviation (i.e "Texas" is "TX" in the table).

Basically is there anyway to change this:

data.setValue(1, 0, 'Texas');
data.setValue(1, 1, 900);

To this?:

data.setValue(1, 0, 'TX');
data.setValue(1, 1, 900);

Once again, I have tried and it does not seem to run. But I just
wanted to check and see if there was some other place in the code
where I could set it to work on State Abbreviations rather than full
state names.

Thanks a bunch, and I really love the Visualization API, it's really
easy to use/learn.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to