Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

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

BALAKRISHNAN R

2007-07-12

Replies:

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


Le e-mail provenienti dalla Sella Synergy India Ltd sono trasmesse in buona fede e non comportano alcun vincolo ne' creano obblighi per la Sella Synergy India Ltd stessa, salvo che cio' non sia espressamente previsto da un precedente accordo.
Questa e-mail e' confidenziale. Qualora l'avesse ricevuta per errore, La preghiamo di comunicarne via e-mail la ricezione al mittente e di distruggerne il contenuto. La informiamo inoltre che l'utilizzo non autorizzato del messaggio o dei suoi allegati potrebbe costituire reato.
Grazie per la collaborazione.

E-mails from Sella Synergy India Ltd are sent in good faith but they are neither binding on the Sella Synergy India Ltd nor to be understood as creating any obligation on its part except where provided for an agreement.
This e-mail is confidential. If you have received it by mistake, please inform the sender by reply e-mail and delete it from your system. Please also note that the unauthorized disclosure or use of the message or any attachments could be an offence.
Thank you for your cooperation.
-------------------------------------------------------------------------
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.