[reportlab-users] color individual bars

Dirk Datzert reportlab-users@reportlab.com
Sat, 27 Jul 2002 12:33:14 +0200


Hi Robin,

didn't expected such a fast response and code changing, cool :-)

Regards,
Dirk

Robin Becker schrieb:
> 
> ...
> Hi Dirk, I checked in some changes to graphics/widgetbase.py and
> barcharts.py. Note that if you want to use the simple data form
> 
> bc.data =[(1,2,3,4,5)]
> 
> you need to do stuff like
> 
> bc.bars[(0,0)] = pink
> bc.bars[(0,1)] = blue
> ....
> bc.bars[(0,4)] = lime
> --
> Robin Becker
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users