Blog by Troy Magennis on Software Architecture, Development and Management

About the author

Troy Magennis is a software developer living in Seattle, WA. Troy is a Microsoft MVP, the author of many articles, and the founder of, a LINQ specific wiki reference site.
E-mail me Send mail


The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2014

Google Chart API

Old news to many, but Google has a Charting API that allows the creation of numerous chart types via a formatted URL string. The Google Chart API returns a .PNG file which is easily embedded in an image tag. If you want to embed charts into your web applications, this chart API might help get you to market quicker.

The idea is simple enough - create an API which returns an image given a specially formed URL. Values can be specified in-line, or encoded to make them more manageable. There are too many chart types and options to document here, but Google's documentation for this API is pretty extensive. I'm impressed with the approach and simplicity. I'm also impressed with the breadth of chart types and the number of options available. In general - they just look plain cool!

Although the API is pretty easy to drive natively, there is also a .NET Helper Library called ngchart which simplifies the API's from native .NET code.


Enough talk - some examples -|February|March|April,80,60,30,30,30,10,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&chco=3072F3,ff0000,00aaaa&chls=2,4,1&chm=s,FF0000,0,-1,5|s,0000ff,1,-1,5|s,00aa00,2,-1,5,edf0d4,6c9642,365e24,13390a&chd=s:fSGBDQBQBBAGABCBDAKLCDGFCLBBEBBEPASDKJBDD9BHHEAACAC&chf=bg,s,eaf7fe&chtm=usa&chld=NYPATNWVNVNJNHVAHIVTNMNCNDNELASDDCDEFLWAKSWIORKYMEOHIAIDCTWYUTINILAKTXCOMDMAALMOMNCAOKMIGAAZMTMSSCRIAR&chs=440x220&cht=t

Posted by t_magennis on Monday, August 04, 2008 3:18 PM
Permalink | Comments (1) | Post RSSRSS comment feed
christian louboutin spiked heels beats by dre red bottom shoes cheap Christian Louboutin Christian Louboutin outlet christian louboutin pumps Christian Louboutin replica Christian Louboutin sale christian louboutin shoes louboutin outlet red bottom shoes Christian Louboutin outlet red bottom shoes Christian Louboutin sale Christian Louboutin shoes sale Christian Louboutin sale Christian Louboutin outlet louboutin outlet Christian Louboutin shoes Jeremy Scott Adidas Jeremy Scott Adidas Air Jordan Pas Cher Air Max Pas Cher Hermes Handbags Outlet Christian Louboutin Shoes Christian Louboutin Outlet Cheap Christian Louboutin Christian Louboutin cheap Christian Louboutin discount Christian Louboutin outlet Christian Louboutin replica Christian Louboutin sale louboutin outlet Louboutin sale Louboutin shoes Christian Louboutin shoes