pyCairoChart - Drawing Charts with python

Description

The pyCairoChart module for python offers an easy way to create 2D-Charts using the excellent cairo graphics library.

Some examples:
pycairochart Example 1  pycairochart Example 2  pycairochart Example 1 

At the moment it is possible to draw charts with
  • 2 y-axis with independent scaling
  • one or more values per x-segment, these may be stacked or drawn side by side
  • legend added automatically
  • self defined fonts in any size
  • self defined colors in a "webish" style (i.e. "#0000FF")
  • localized formatted numbers (on y-axis)
  • self-defined margins between rectangles
  • suppressing null values
  • ...
To get a first impression of pyCairoChart you may have a look at the code to generate the 3 charts above.

Download

pyCairoChart is published under the GPL. The current version is pycairochart-0.1.1.tar.gz.

TODO

At the moment I'm not sure which of the following possibilities should be added to pycairochart. So the "ToDos" are perhaps only ideas which could be implemented in pycairochart.
  • Better README and __doc__ inside the module!
  • Piecharts?
  • python-like setup
  • Nicer tabbing of legend
  • Different patterns for background and/or rectangles
  • Pseudo 3D Graphics?
  • Different dots for line-mode (i.e. stars instead of bullets)?
  • curved lines?
  • area-charts?
  • Output as PDF? (at the moment only PNG is supported)

BUGS

Maybe. Did not found them until today. So if you find one, please let me know at ml-cairochart (at) bettercom.de. Thank you.
eMail Als email versenden Drucken Druckversion

Logo
Solutions
Success in the net
bettercom
IT-Services

Gemündener Strasse 7
D - 61276 Weilrod

Phone +49-6083-329090
ml-info@bettercom.de
Impressum i.S.d. TDG