Tuesday, March 16, 2010

Google Chart Tools ( A P I )

Google Chart Tools ( A P I )

Copy paste this link in your browser and check .You can view chart shown below

http://chart.apis.google.com/chart?cht=p3&chd=t:60,30,10&chs=250x100&chl=Hind|ust|ani


Try this also

http://chart.apis.google.com/chart?cht=p3&chd=t:60,30,10&chs=250x100&chl=Hind|ust|ani&chco=0000FF


When you closely watch the link which produce a chat ;you can see after this link
http://chart.apis.google.com/chart? every parameter is passed through variable starting with 'ch' which stands for chart

cht resembles for Chart Type  
  1. Pie Charts (p, p3, pc)
  2. Bar Charts (bhs, bvs, bhg, bvg)
  3. Box Charts
  4. Candlestick Charts
  5. Compound Charts
  6. Dynamic Icons (chem)
  7. Formulas (tx)
  8. Google-O-Meter Charts (gom)
  9. Line Charts (lc, ls, lxy)
  10. Map Charts (t)
  11. QR Codes (qr)
  12. Radar Charts (r, rs)
  13. Scatter Charts (s)
  14. Venn Charts (v)            

cbd resembles for Chart Data (ie: chd=t:val,val,val Here t stands for 'text' format )

Formats
t -> text ,s -> series

chs resembles for Chart Size in pixels ( [width x height ie: 250 x 100 ] )

<width>
Width, in pixels. Maximum value is 1,000. Width x height cannot exceed 300,000.
<height>
Height, in pixels. Maximum value is 1,000. Width x height cannot exceed 300,000.

chco resembles for Chart Color

List of Chart Parameters

For More Details

1 comment:

  1. hello... hapi blogging... have a nice day! just visiting here....

    ReplyDelete