Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Reg Finding X,
 Y coordination to print pie chart in dynamic data's

Paulo Soares

2007-07-13

Replies:

PdfPCellEvent.

Paulo

----- Original Message -----
From: "BALAKRISHNAN R" <BALAKRISHNAN@(protected)>
To: <itext-questions@(protected)>
Sent: Thursday, July 12, 2007 2:10 PM
Subject: [iText-questions] Reg Finding X,Y coordination to print pie chart
in dynamic data's


Hi,

  I am using iText and jFreeChart to print the piechart in PDF. I
have to print the piechart based on the information stored in DB.

  Say for example I have a table called Basket which contains N
number of balls with different colors. My table looks this...



OBJECT

COLOUR

COUNT


Soccer Ball

Red

15


Cricket Ball

White

20


Tennis Ball

Blue

25


Soccer Ball

Blue

40


Tennis Ball

Red

15




Now i have to print the piechart based on Red colour in table format as
informations are located in one cell and the pie chart is located in
another cell. Here the records are dynamic, How can i find out the x, y
coordination to print the pie chart? Moreover the table should not
spread across the pages i mean this table should be in one page.

Thanks in advance..

Regards,
Balakrishnan Rengaraj



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.