GOOGLE CHART API INFO


with google api it is possible to create graphics

essentially there are two modalities

first one is to include in a page html a graphic 

for example

<p><img src="http://chart.apis.google.com/chart?cht=lxy&#038;chs=200x125&#038;chd=t:0,30,60,70,90,95,100|20,30,40,50,60,70,80|10,30,40,45,52|100,90,40,20,10|-1|5,33,50,55,7&#038;chco=3072F3,ff0000,00aaaa&#038;chls=2,4,1&#038;chm=s,FF0000,0,-1,5|s,0000ff,1,-1,5|s,00aa00,2,-1,5" /></p>


second possibility is to write the http address in a browser without # and substituting ; with &

http://chart.apis.google.com/chart?cht=lxy&038&chs=200x125&038&chd=t:0,30,60,70,90,95,100|20,30,40,50,60,70,80|10,30,40,45,52|100,90,40,20,10|-1|5,33,50,55,7&038&chco=3072F3,ff0000,00aaaa&038&chls=2,4,1&038&chm=s,FF0000,0,-1,5|s,0000ff,1,-1,5|s,00aa00,2,-1,5


result is the same 


data can be written in two differen ways

as esadecimal code


id es

http://chart.apis.google.com/chart?cht=lc&chd=s:UVVUVVUUUVVUSSVVVXXYadfhjlllllllmmliigdbbZZXVVUUUTU&chco=0000FF&chls=2.0,1.0,0.0&chxt=x,y&chxl=0:|Jan|Feb|Mar|Jun|Jul|Aug|1:|0|25|50|75|100&chs=200x125&chg=100.0,25.0&chf=c,ls,0,CCCCCC,0.2,ffffff,0.2 http://chart.apis.google.com/chart?cht=p3&chs=220x100&chd=s:Hellob&chl=May|Jun|Jul|Aug|Sep|Oct 

as number


we consider only second approach

here are some examples


http://chart.apis.google.com/chart?chs=800x100&cht=bvs&chbh=a&chco=DC5D57&chds=0,146&chd=t:52,22,19,25,61,73,81,29,14,11,35,23,59,38,77,39,8,12,35,84,21,33,12,12,16,146,5,5,80,3,2&chxt=x,r&chxl=0:|8/7|8/8|8/9|8/10|8/11|8/12|8/13|8/14|8/15|8/16|8/17|8/18|8/19|8/20|8/21|8/22|8/23|8/24|8/25|8/26|8/27|8/28|8/29|8/30|8/31|9/1|9/2|9/3|9/4|9/5|9/6|&chxr=1,0,146

http://chart.apis.google.com/chart?chs=800x100&cht=bvs&chbh=a&chco=FDFF5E,E9AA59,DC5D57&chds=0,16299&chd=t:143,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0|16104,916,2152,2133,3140,2204,3404,2026,2465,3126,5056,2713,3680,2384,7532,834,439,2908,6658,2558,4625,5954,1942,1021,2104,5630,2980,4587,4236,518,155|52,22,19,25,61,73,81,29,14,11,35,23,59,38,77,39,8,12,35,84,21,33,12,12,16,146,5,5,80,3,2&chxt=x,r&chxl=0:|8/7|8/8|8/9|8/10|8/11|8/12|8/13|8/14|8/15|8/16|8/17|8/18|8/19|8/20|8/21|8/22|8/23|8/24|8/25|8/26|8/27|8/28|8/29|8/30|8/31|9/1|9/2|9/3|9/4|9/5|9/6|&chxr=1,0,16299

http://chart.apis.google.com/chart?chs=800x300&cht=lxy&chd=t:0,100|0,100&chtt=DATA+SHOW+for+2007&chxt=x,y&chxl=0:|Dec+1st|||||6th|||||||||||||||||||25th|26th|||||Dec+31st|1:||||||50|||||100&chg=3.3333,10,1,3&chd=t:0,16.7,23.3,33.3,60,76.7,83.3,86.7,93.3,96.7,100|30,45,20,50,15,80,60,70,40,55,80|0,10,16.7,26.7,33.3|50,10,30,55,60&chco=458B00,CD2626&chdl=2006|2007

http://chart.apis.google.com/chart?chs=800x300&cht=lxy&chd=t:0,100|0,100&chtt=Projected+data+for+2007&chxt=x,y&chxl=0:|Dec+1st|||||6th|||||||||||||||||||25th|26th|||||Dec+31st|1:||||||50|||||100&chg=3.3333,10,1,3


more recently google has created 


MAPS

http://chart.apis.google.com/chart?chs=440x220&chd=s:_&cht=t&chtm=europe&chco=cccccc,ff3333,3399cc&chld=ITCZDKFR&chd=t:0,30,60,90
-----------
SYMBOLS and LETTERS e lettere
reference: http://groups.google.com/group/google-chart-api/web/chart-types-for-map-pins

examples
http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=A|FF0000|000000
http://chart.apis.google.com/chart?chst=d_map_pin_icon&chld=home|FFFF00
http://chart.apis.google.com/chart?chst=d_map_xpin_letter&chld=pin_star|A|00FFFF|000000|FF0000
http://chart.apis.google.com/chart?chst=d_map_xpin_icon&chld=pin_star|home|00FFFF|FF0000
http://chart.apis.google.com/chart?chst=d_map_spin&chld=1.2|30|FFFF88|10|_|foo|bar

------------
STICKY NOTES 
reference: http://groups.google.com/group/google-chart-api/web/chart-types-for-sticky-notes

examples
http://chart.apis.google.com/chart?chst=d_fnote_title&chld=pinned_c|1|004400|l|Joe's|Today+2-for-1+!|555-1234
http://chart.apis.google.com/chart?chst=d_fnote&chld=thought|1|0088FF|h|wouldn't+it+be|great+to+eat|at+Joe's?
http://chart.apis.google.com/chart?chst=d_weather&chld=sticky_y|sunny|Barcelona|max+25%C2%B0|min+15%C2%B0

-------------
CALLIGRAPH and TXT
reference http://groups.google.com/group/google-chart-api/web/chart-type-for-text-with-outline

examples
http://chart.apis.google.com/chart?cht=lc&chs=200x125&chd=t:67.05,62.94,54.72,65.90,67.37,71.87,75.09,72.47,74.33,59.09&chxt=y&chxl=0:%7C5000%7C6000
http://chart.apis.google.com/chart?chst=d_text_outline&chld=FFBBBB|16|h|BB0000|b|1600+Amphitheatre+Parkway|Mountain+View,+CA|(650)+253-0000
------------
STRANGE OBJECTS

http://chart.apis.google.com/chart?cht=s&chs=270x270&chd=t:15.0,20.0,30.0,40.0,50.0,55.0,20.0,25.0,30.0,35.0,40.0,45.0,50.0,25.0,35.0,45.0,25.0,30.0,35.0,40.0,45.0,30.0,40.0,20.0,25.0,35.0,35.0,35.0,45.0,50.0%7C10.0,10.0,10.0,10.0,10.0,10.0,15.0,15.0,15.0,15.0,15.0,15.0,15.0,20.0,20.0,20.0,25.0,25.0,25.0,25.0,25.0,30.0,30.0,50.0,45.0,50.0,55.0,60.0,45.0,50.0%7C100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0&chf=c,lg,90,aaaaaa,1,eeeeee,0&chxt=y,x&chxr=0,0,90%7C1,0,90&chm=s,000000,0,1,10
------------

BUBBLES
http://groups.google.com/group/google-chart-api/web/chart-types-for-information-bubbles?pli=1

http://chart.apis.google.com/chart?chst=d_bubble_icon_text_small&chld=petrol|bb|$3/gal|FFFF88|000000
http://chart.apis.google.com/chart?chst=d_bubble_texts_big&chld=bb|008888|FFFF88|Joe's+Restaurant|123+Long+Street|92745+Mountain+View
http://chart.apis.google.com/chart?chst=d_bubble_icon_text_big&chld=snack|bb|$2.99+!|FFBB00|000000


