Hi, I'm Henrik Joreteg
I'm a happy, geeky, husband and dad. I love skiing, web dev stuff, and independent thought.
Joreteg.com is where I occasionally write about the things that interest me and come spilling out of my brain.
I live in West Richland, WA and happily work as JS developer/president at &yet.
Contact
Email:
Or you can just push this big button to call me:
Links to My Other Stuff
Latest From Twitter
Feb
11th
2010
Thu
11th
2010
Google chart API simple and sweet
So, in my humble opinion Google’s chart api is genius. I know some of this has been around for a while. But I’ve never really looked at it till now.
You just pass in paramaters and Google draws and serves up your charts super fast. In it’s most basic form, all you gotta do is put the paramaters in your image tag.
Here’s a couple of simple examples:
<img src="http://chart.apis.google.com/chart?chs=250x100
&chd=t:60,20,20&cht=p3&chl=Pure|Genius|Yo"/>
<img src="http://chart.apis.google.com/chart?cht=bvs&chco=4D89F9,C6D9FD
&chd=t:10,50,60,80,40|50,60,100,40,20&chds=0,160&chs=200"/>
There’s a lot more too it. Just read the chart docs API.
Comments (View)
