[reportlab-users] barchart background (repost for archive)
Robin Becker
reportlab-users@reportlab.com
Tue, 30 Jul 2002 17:25:12 +0100
In article <3D46B12B.6F2596F4@rasselstein-hoesch.de>, Dirk Datzert
<dirk.datzert@tks-rasselstein.thyssenkrupp.com> writes
>Hi,
>
>I missed a background option for barcharts and modified my local
>version.
>I sent my changes for discussion or integration purpose.
>
>chart.background = ShadedRect()
>chart.background.fillColorStart = colors.blue
>chart.background.fillColorEnd = colors.red
>
>chart.background.x,y,width,height will be set in makeBackground()
>
>default is chart.background = None
>and the default makeBackground() mechanism will be used.
>
Done!
--
Robin Becker