root/tags/0.5.0/docs/introduction.rst

Revision 152, 2.0 kB (checked in by adampycha, 3 years ago)

Pie chart is now fixed so remove note about it being broken.

Line 
1.. index:: introduction
2.. _introduction:
3
4************
5Introduction
6************
7
8PyCha is a very simple `Python <http://www.python.org>`_ package for drawing
9charts using the `Cairo <http://www.cairographics.org/>`_ library. Its lead
10developer is Lorenzo Gil Sanchez.
11
12.. index:: pycha goals
13
14PyCha aims to be:
15
16    * Lightweight
17    * Simple to use
18    * Nice looking with default values
19    * Customizable
20
21.. index:: chart types
22.. _pycha-chart-types:
23   
24The following charts are currently supported (see screenshots below):
25
26    * horizontal bar charts (``pycha.bar.HorizontalBarChart``)
27    * vertical bar charts (``pycha.bar.VerticalBarChart``)
28    * pie charts (``pycha.pie.PieChart``)
29    * line charts (``pycha.line.LineChart``)
30    * scatter charts (``pycha.scatter.ScatterChart``)
31 
32Support for stacked bar charts is planned for a future release.
33   
34PyCha is distributed under the terms of the `GNU Lesser General Public License
35<http://www.gnu.org/licenses/lgpl.html>`_.
36
37If you require more advanced graphs, you might want to consider `matplotlib
38<http://matplotlib.sourceforge.net/>`_.
39
40.. index:: screenshots   
41.. _screenshots:
42   
43Screenshots
44===========
45
46- **horizontal bar chart**
47
48.. image:: ../examples/hbarchart.png
49
50- **vertical bar chart**
51
52.. image:: ../examples/vbarchart.png
53
54- **pie chart**
55
56.. image:: ../examples/piechart.png
57
58- **line chart**
59
60.. image:: ../examples/linechart.png
61
62- **scatter chart**
63
64.. image:: ../examples/scatterchart.png
65
66.. index:: output formats
67.. _output-formats:
68
69Output Formats
70==============
71
72PyCha uses the `Cairo <http://www.cairographics.org/>`_ library so it should support
73all `Cairo surfaces <http://www.cairographics.org/manual/cairo-surfaces.html>`_.
74
75Please refer to :ref:`save-chart-to-file` and :ref:`embed-chart-in-gtk-app` for
76examples.
77
78.. _get-involved:
79
80Get Involved
81============
82
83PyCha has a mailing list at `http://groups.google.com/group/pycha
84<http://groups.google.com/group/pycha>`_. Questions and ideas are welcome.
85
Note: See TracBrowser for help on using the browser.