Any reportlab user here??

Larry Bates lbates at swamisoft.com
Mon Mar 22 17:32:05 EST 2004


Ketul,

You use .barLabels.fontSize, .barLabels.fontName,
.barLabels.Nudge, and .barLabelFormat to control
what prints at the top of each bar.

You use the legend object to create a legend for
a barchart that shows a "swatch" of the color/pattern
for the bar along with a description for that series.

You should probably print out and review all the
examples that come with ReportLab/Graphics.  I know
they helped me a lot.

Larry Bates
Syscon, Inc.


<ketulp_baroda at yahoo.com> wrote in message
news:f046efac.0403220742.12943b9c at posting.google.com...
> Hi
> I am drawing a vertical barchart for project vs start date
> The vertical bars are for projects.
> Now, at the top of each bar I also want to display the number of
> projects.
> Also I want to show the color convention i.e
> Say I have different bars for H.R projects,etc...
> Now,if HR project bars are of blue colors then at the side of graph I
> want to show a small rectangle of blue color with "H.R project" beside
> it.
> How should I do this?
> Regards,
> Ketul





More information about the Python-list mailing list