O'Reilly logo

Django 1.1 Testing and Debugging by Karen M. Tracey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Results display using pygooglechart

Once we've decided we want to create pie charts, the next question is: how do we do that? Chart creation is not built into the Python language. There are, however, several add-on libraries that provide this function. We'll start by experimenting with one of the simplest alternatives, pygooglechart, which is a Python wrapper around the Google chart API.

The pygooglechart package is available on the Python Package Index site, http://pypi.python.org/pypi/pygooglechart. Information on the underlying Google chart API can be found at http://code.google.com/apis/chart/. The version of pygooglechart used in this chapter is 0.2.0.

One reason using pygooglechart is very simple, for a web application, is that the result ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required