I haven't used this map type much, but it looks like the applies colors to countries using color gradient you specify.
You want to display four main colors (red, blue, yellow, grey) so your CHCO parameter needs to look like "chco=000000,ff0000,0000ff,ffff00,808080" which the API reads as "by default, set all countries to black and then set up a color gradient ranging from red to blue to yellow to grey." You've specified text encoding (CHD=t:) but since text encoding with data scaling is not available for maps, the API is expecting your data to range between 0 and 100. Therefore, I think if you use 0 for red, 33 for blue, 66 for yellow and 100 for grey you should get all four colors on the map. Here's my quick test: http://chart.apis.google.com/chart?cht=t& chtm=world& chs=440x220& chf=bg,s,000000& chco=000000,FF0000,0000FF,FFFF00,808080& chld=AUUSRUCN& chd=t:0,33,100,66 Cheers, K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Chart 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-chart-api?hl=en -~----------~----~----~----~------~----~------~--~---
