* What this is

PyChart is a Python library for creating "professional" quality PS or
PDF charts .  It currently supports line plots, bar plots, range-fill
plots, and pie charts.  Because it is based on Python, you can make
full use of Python's scripting power.

The PyChart home page is at www.cs.washington.edu/homes/yasushi/pychart.

* What you need

You need Python (http://www.python.org) version 1.5 or later.

You also need Ghostscript to get information about font
dimension. PyChart runs more or less ok without ghostscript, but it will
screw text
alignment and size calculation.

If the ghostscript font directory is anywhere other than
/usr/{lib,lib/share,local/share,share}/ghostscript/fonts, you must
change the beginning of pychart/Font.py.

* Installation

If you have Python 1.6 or later (or have Python 1.5 with Distutils),
become a root and do:

	# python setup.py install

Otherwise, manually copy "pychart" directory into the standard Python
library directory (usually /usr/lib/python1.5/pychart). Or, you can
set PYTHONPATH environment variable before you start Python. For
example (in bash):

% PYTHONPATH=~/PyChart-1.7/pychart python mumbo.py

* Documentation

Goto "doc" directory and type

	% make

Alternatively, you can go to
http://www.cs.washington.edu/homes/yasushi/pychart/doc

* Demonstrations

All the *.py files in the demos/ directory can be run directly. For
example,

setenv PYTHONPATH ..
python linetest.py >foo.eps
gs foo.eps

or

setenv PYTHONPATH ..
setenv PYCHART_OPTIONS="format=pdf"
python linetest.py >foo.pdf
acroread foo.pdf

