Fork of graphy, a simple chart library for Python. With 23% less noob.
Go to file
bugmaster b0a8358821 Fixed a data aliasing issue where LineStyle.solid and other constants like it were shared globally across all charts. Changed LineStyle.solid() and others into class methods, and changed DataSeries.style to automatically call these methods in order to correct legacy code.
git-svn-id: http://graphy.googlecode.com/svn/trunk@77 30582518-8026-11dd-8d1c-71c7e1663bfb
2009-06-26 22:35:13 +00:00
examples add another example using bar charts and multiple axes 2008-12-23 16:43:04 +00:00
graphy Fixed a data aliasing issue where LineStyle.solid and other constants like it were shared globally across all charts. Changed LineStyle.solid() and others into class methods, and changed DataSeries.style to automatically call these methods in order to correct legacy code. 2009-06-26 22:35:13 +00:00
LICENSE import 1st version of code 2008-09-30 21:35:47 +00:00
README add install notes (sorta) and a quickstart 2008-12-31 22:25:06 +00:00

README

Graphy

Graphy is a chart library for python. It tries to get out of the way and just
let you work with your data.

For more information, see http://code.google.com/p/graphy/

For license info, see the LICENSE file.

INSTALLATION:
No installer yet, so just manually copy graphy/ into python-lib/graphy.

QUICK START:
from graphy.backends import google_chart_api
monthly_rainfall = [3.2, 3.2, 2.7, 0.9, 0.4, 0.1, 0.0, 0.0, 0.2, 0.9, 1.8, 2.3]
months = 'Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec'.split()
chart = google_chart_api.LineChart(monthly_rainfall)
chart.bottom.labels = months
print chart.display.Url(400, 100)

EXAMPLES:
The examples in the examples/ directory assume graphy is in the PYTHONPATH.
If just want to run them without installing graphy first, you will need to do
something like this:
  $ cd examples
  $ PYTHONPATH=.. ./traffic.py