4
pygooglechart is a complete Python wrapper for the Google Chart API.
6
pygooglechart works with Linux, Windows and Mac OS X.
11
from pygooglechart import PieChart3D
13
# Create a chart object of 250x100 pixels
14
chart = PieChart3D(250, 100)
17
chart.add_data([20, 10])
19
# Assign the labels to the pie data
20
chart.set_pie_labels(['Hello', 'World'])
26
chart.download('pie-hello-world.png')
28
There are more examples in [the examples directory](https://github.com/gak/pygooglechart/tree/master/examples).
32
There are a few ways of installing it from source:
34
If you have setuptools installed, simply run the following:
36
easy_install pygooglechart
38
Or get the sources and run:
40
python setup.py install