[reportlab-users] Missing area charts

Dinu Gherman gherman at darwin.in-berlin.de
Thu May 28 16:12:06 EDT 2009


Dinu Gherman:


> Ok, I found AreaLinePlot, but not a test illustrating it, at

> least not in a way that would make it instantly visible as an

> area chart. I guess (and hope) it is implicitly stacked (in-

> heriting from LinePlot with multiple series)...



Maybe I was overly optimistic... While trying AreaLinePlot like
it is (or rather: like it should be) used on page 155 of the file
graphics_reference.pdf I get an error like this:

[...]
/reportlab/graphics/charts/lineplots.py", line 748, in draw
S[j] = S[j] + odata[j][i]
TypeError: unsupported operand type(s) for +: 'int' and 'tuple'

Is this expected to work and if so, where can I find some sample
or test code proving that it really works?

Thanks,

Dinu

......................................................................
Follow me on Twitter: http://twitter.com/dinugherman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090528/f4c3236a/attachment.htm>


More information about the reportlab-users mailing list