Archive for October 2008

How to draw a smooth curve chart

Some of us need to draw charts from time to time. Usually you have little choice, you either use a bar chart:

vbarchart

or a polygon chart:

linechart

In this post I will describe how to draw a pretty smooth curve chart using python and cairo. You can adapt this routine to be used with django, pycha or any other image creation library, code snippets in comments are appreciated.
Continue reading ‘How to draw a smooth curve chart’ »