We're looking for authors and image contributors! To join the Spanking Art wiki community, create a login and you're ready to get started!

Spanking Art:Charts

From Spanking Art

Jump to: navigation, search

Since January 5, 2007 we can embed charts via the Google Chart API. The syntax is explained here. Examples:

Example pie chart Example line chart

The great thing is that the image is created dynamically at runtime - which saves us the need to upload an image, and means the chart updates as soon as you update the data. The only disadvantage is that it takes 1-2 extra seconds for the chart image to load.

[edit] Simple encoding

012345678910111213141516171819202122232425
ABCDEFGHIJKLMNOPQRSTUVWXYZ
2627282930313233343536373839404142434445464748495051
abcdefghijklmnopqrstuvwxyz
52535455565758596061
0123456789

[edit] Example: Pie chart

http://chart.apis.google.com/chart?cht=p&chd=s:WRPMMHHGC&chs=350x200&chl=M/F|F/f|F/F|F/M|F/m|M/m|M/f|M/M|other

[edit] Example: Map

http://chart.apis.google.com/chart?cht=t&chs=440x220&chd=s:9&chld=US&chtm=world

Personal tools