•   Indika’s Web Log

  •    If you don’t know where you’re going how do you expect to get there ?

  • Home
  • About Me
  • Ajax & JavaScript
    • Switch Statement
  • PHP
    • Data Types
    • PHP Basics
    • Run PHP from pages with any extension
    • How to use the query string in PHP
  • Robotics
  • C#
    • Working with Dataset Objects
    • Message Boxes - MessageBox
    • Find control name from Object Sender
  • SQL
    • Apostrophe in SQL Search String
    • LIKE
    • UNION
    • SQL to Insert all US States with State code
  • Userfull Links
  • Misc
    • Google Chart API
    • Special ALT Characters
    • Crystal Reports Insert Image programatically

Google Chart API

Google has released an open web API that provides a drop-dead simple means of adding graphs and charts to web pages. I really do find their implementation to be extremely elegant and powerful. Here are some sample charts and their usage urls. Good stuff!

Linear stripes Chart

Actual url: 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=200×125&chg=100.0,25.0&chf=c,ls,0,CCCCCC,0.2,ffffff,0.2

Pie Chart

Actual url: http://chart.apis.google.com/chart?cht=p3&chs=220×100&chd=s:Hellob&chl=May|Jun|Jul|Aug|Sep|Oct

Linear gradient Chart

Actual url: http://chart.apis.google.com/chart?cht=lc&chd=s:pqokeYONOMEBAKPOQVTXZdecaZcglprqxuux393ztpoonkeggjp&chco=FF0000&chls=4.0,3.0,0.0&chs=200×125&chxt=x,y&chxl=0:|1|2|3|4|5|1:|0|50|100&chf=c,lg,0,76A4FB,1,ffffff,0|bg,s,EFEFEF

Here is the blog post announcing the public release of the Google Chart API

And, here is the Google Chart API reference

Share This

Comments are closed.

up to content »
  • Categories

    • .NET
    • Api
    • Domains
    • Google
    • Ideas
    • News
    • Studies
    • Uncategorized
    • Web Tools
  •  

  • December 2008
    M T W T F S S
    « Nov    
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Archives

    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • December 2007
    • October 2007
    • August 2007
    • July 2007
    • June 2007
    • April 2007
    • March 2007
    • January 2007
    • August 2006
    • July 2006
    • May 2006
    • April 2006
    • March 2006
    • January 2006
    • December 2005
    • July 2005
    • August 2004
    • July 2004
    • February 2004
    • January 2004
  • UserOnline

    • 2 Users Online
rss posts
  • Latest Posts

  • Get Computers Serial Number (wmic)
  • America’s First Black President!
  • Smush your images and Save bandwith
  • I Love Corvettes
  • Prevx Rocks : Thanks Prevx CSI
  • Great tech habits to improve your life
  • Domain registrar changed to Blog.com
  • Google Map Maker : Updates to Google Maps
  • 10 Commandments of Web Design
  • Great Javascript frameworks
  • Friends

  • Meta

  • Login
  • Valid XHTML
  • Valid CSS
  • XFN
  • WordPress

© 2008   Indika’s Web Log. All Rights Reserved.

Close
  • Social Web
  • E-mail
  • del.icio.us
  • Digg
  • Furl
  • Netscape
  • Yahoo! My Web
  • StumbleUpon
  • Google Bookmarks
  • Technorati
  • BlinkList
  • Newsvine
  • ma.gnolia
  • reddit
  • Windows Live
  • Tailrank
E-mail It
You are here : Home » misc » Google Chart API