This is lovely (as always). Google has released an API for the charts they use in Google Video and Finance. Just an URL and you get an image back. Beautiful!
Here’s an example
http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250×100&chl=Good|Bad
Makes this image