Generating charts with ReportLab

364 views
Skip to first unread message

carole...@gmail.com

unread,
Jul 27, 2007, 11:34:24 PM7/27/07
to Django users
I had the need to generate a few different types of charts using
ReportLab. The wiki only had a sample of a Horizontal Bar Chart, so
I've added a new sample on how to produce a Line Chart...
http://code.djangoproject.com/wiki/Charts

If anyone is interested in a sample for a Pie or Scatter chart, let me
know, and I can add samples of these as well.

David Reynolds

unread,
Jul 30, 2007, 4:19:04 AM7/30/07
to django...@googlegroups.com

I would say, go ahead and add them, as I'm sure many people will find
them useful at some point.

Thanks,

David

--
David Reynolds
da...@reynoldsfamily.org.uk


Ben Ford

unread,
Jul 30, 2007, 4:29:22 AM7/30/07
to django...@googlegroups.com
Hey Carole,
A guy called Toby has put something together using R and rpy that does graphs... I haven't been able to make it work as yet, but he's keen to move on with it, and wants some testers and some help!
Check out: http://groups.google.com/group/django-users/browse_thread/thread/43eafd773734acb6/31748b7c9487ba0a?lnk=gst&q=contrib+namespace+r&rnum=1#31748b7c9487ba0a
or just have a look through your gmail for Re: Graphs and django.
(The search string "contrib namespace r" worked for me.)
Ben
--
Regards,
Ben Ford
ben.f...@gmail.com
+628111880346

carole...@gmail.com

unread,
Jul 30, 2007, 9:18:35 AM7/30/07
to Django users
Hey Ben...thanks...I'll check that out.

We'll most likely continue to use ReportLab for our project, as we are
using the graphs in some reports we are going to export to PDF... but
looks like an interesting read :)

I'll also add the other two samples to the wiki this week...
Carole

On Jul 30, 4:29 am, "Ben Ford" <ben.for...@gmail.com> wrote:
> Hey Carole,
> A guy called Toby has put something together using R and rpy that does
> graphs... I haven't been able to make it work as yet, but he's keen to move
> on with it, and wants some testers and some help!

> Check out:http://groups.google.com/group/django-users/browse_thread/thread/43ea...
>
> or just have a look through your gmail for *Re: Graphs and django.*


> (The search string "contrib namespace r" worked for me.)
> Ben
>
> On 30/07/07, David Reynolds <da...@reynoldsfamily.org.uk > wrote:
>
>
>
>
>
> > On 28 Jul 2007, at 4:34 am, carole.zie...@gmail.com wrote:
>
> > > I had the need to generate a few different types of charts using
> > > ReportLab. The wiki only had a sample of a Horizontal Bar Chart, so
> > > I've added a new sample on how to produce a Line Chart...
> > >http://code.djangoproject.com/wiki/Charts
>
> > > If anyone is interested in a sample for a Pie or Scatter chart, let me
> > > know, and I can add samples of these as well.
>
> > I would say, go ahead and add them, as I'm sure many people will find
> > them useful at some point.
>
> > Thanks,
>
> > David
>
> > --
> > David Reynolds
> > da...@reynoldsfamily.org.uk
>
> --
> Regards,
> Ben Ford

> ben.for...@gmail.com
> +628111880346

Ben Ford

unread,
Aug 6, 2007, 4:12:24 AM8/6/07
to django...@googlegroups.com
Hi Carole,
Just FYI as they are kind of related topics, I've created a project called django-reports with some of my code for reporting on your django objects. I thought you might find it interesting and integration with reportlabs would be a cool feature for the future. See my other message to the group or the link for more details. To everyone else: Sorry for the double message for those of you not using gmail :-)
Ben


carole...@gmail.com

unread,
Aug 10, 2007, 10:02:44 AM8/10/07
to Django users
This library looks pretty nice too... for graphs... if you decide not
to go the reportlab route. I haven't fiddled with it any, but was
looking over the docs and it looks promising:
http://nullcube.com/software/pygdchart2.html

On Aug 6, 4:12 am, "Ben Ford" <ben.for...@gmail.com> wrote:
> Hi Carole,
> Just FYI as they are kind of related topics, I've created a project called

> django-reports <http://code.google.com/p/django-reports/> with some of my


> code for reporting on your django objects. I thought you might find it
> interesting and integration with reportlabs would be a cool feature for the
> future. See my other message to the group or the link for more details. To
> everyone else: Sorry for the double message for those of you not using gmail
> :-)
> Ben
>

> ben.for...@gmail.com
> +628111880346

Reply all
Reply to author
Forward
0 new messages