473,396 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Any reportlab user here??

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
Jul 18 '05 #1
1 1904
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.
<ke***********@yahoo.com> wrote in message
news:f0**************************@posting.google.c om...
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

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Precedo | last post by:
ReportLab is happy to announce that it is a major sponsor of the XML Conference 2003, taking place in Philadelphia PA on December 7th to 12th. We'd love to see friends and associates of...
3
by: Andreas Jung | last post by:
Reportlab has some problems with creating PDFs from UTF8 encoded text. For this reason they are using a truetype font rina.ttf which looks *very ugly*. Does anyone know of a suitable free...
0
by: Robin Becker | last post by:
Version 1.19 of the ReportLab Toolkit has been released. Fixes from Max Neunhöffer (pyRXP) and Peter Borocz (pdfmetrics). ReportLab graphics now has some 3D charts. Support for True Type Fonts in...
4
by: Active8 | last post by:
I did this once and can't remember how <blush> so I read the reportlab user guid. It says to unzip the reportlab archive - this is on w2k, BTW, with Python23 - to a directory and make a file...
2
by: Rajarshi Guha | last post by:
Hi, I've been using pdflatex to dump ranges of pages from a PDF file via Python. However, I was looking at the Reportlab toolkit and was wondering if this operation would be possible using this...
3
by: maeckle | last post by:
hi, i'm working with reportlab since a couple of weeks and i managed to create quite nice pdfs... there is a little problem though. since i have to create english and russian content, i use the...
2
by: Chuck | last post by:
I have been trying all day to get this to work. My complete code is below. I can get my text into the PDF, I can get my image in the PDF. What I can't get to work is frames so that the image (logo)...
16
by: Laszlo Nagy | last post by:
I need to create multi lingual invoices from reportlab. I think it is possible to use UTF 8 strings but there is a problem with the font. I could not find any free TTF font that can do latin1,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.