[reportlab-users] background for charts again

Dirk Datzert reportlab-users@reportlab.com
Sat, 27 Jul 2002 20:45:47 +0200


Hi,

I want to suggest that charts generally should have a 'background'
attribute.
I saw that some lineplots already have these attribute.

chart.background.fillColor = blue
chart.background.strokeColor = red
chart.background.strokeWidth = 0.5
and in makeBackground() do a simple Rect(),

or 

chart.background = ShadedRect()
chart.background.fillColorStart = blue
chart.background.fillColorEnd = red
and in makeBackground() do what ?

or

chart.background = someKindOfImage()
and than set image parameters.

For Images transparency mode 0-100% is useful. Don't know if Images
already have this feature ?

Anybody out there who wants to discuss that issues ?

Regards,
Dirk