I'm very new at working with the API, so bear with me! I'm using the Geo Map visualization in Region mode. I am showing some rather large numbers (in the millions and billions) and I need to be able to format these numbers accordingly. ie. 1,234,567 instead of 1234567. I tried changing the column type to 'string' instead of 'number' and using PHP's number_format() function, and this did not work - the color scale did not appear and all the countries I had selected were black. I also tried leaving the column type on 'number' and using PHP's number_format() function and this also did not work - the visualization truncated my numbers past the first comma. Is there any solution to this?
I am also curious if any documentation exists for the exact country names that the API knows how to work with. For example, the API wants "United States" but it is "United States of America" in my database. I would like to ensure that my country names match up to the API, but I can't seem to find a list. It seems like there should be a list somewhere? Any help with these matters would be greatly appreciated. Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
