[reportlab-users] First report, complete with graph and database

Bill Harris bill_harris at facilitatedsystems.com
Thu Feb 4 23:49:08 EST 2010


Patrick Maupin <pmaupin at gmail.com> writes:


> Ahhh, graphs.


Pat,

That _wasn't_ an encouraging opening. :-)


> If you can get your graph into a pdf all by itself (either by just

> doing the graph alone in reportlab, or by generating a pdf from a

> different package), then, with the current subversion version of

> rst2pdf, you can use the "-e vectorpdf" option, and bring in the pdf

> containing the graph as a vector image. That works pretty well for

> non-compressed, non-password protected PDFs at the moment.


I can likely generate the PDF in J or perhaps R, but I'm ending up with
a split across multiple technologies.


> That's kind of convoluted, especially if you're using reportlab to

> generate the graph PDF -- if the text is small compared to that, you

> might as well just use reportlab for the whole job!


If I knew Python better (or after I learn it better), it sounds as if
Python could do what I want, and that integrates well, of course, with
reportlab.


> Hope that's not too confusing.


Nope, but it's back to where I started: I probably need to learn a bit
more Python and then learn to use reportlab.

There's another alternative: I could create LaTeX programmatically, I
guess.

Thanks; you may have saved me some time searching.

Bill
--
Bill Harris http://facilitatedsystems.com/weblog/
Facilitated Systems Everett, WA 98208 USA
http://facilitatedsystems.com/ phone: +1 425 374-1845


More information about the reportlab-users mailing list