Jeevan,
The typically recommended approach (and this is what we use as well) is:
1. Use desktop software to create an MS-Excel document with the charts that
you need and have these charts depend on a "name" (HSSFName).
2. In your Java code, rather than creating a new document from scratch,
start with this "template" document. For example:
HSSFWorkbook exportWB = new HSSFWorkbook(new
FileInputStream("disclSummary.xls"));
3. Continuing in Java, you can update the data on that one worksheet, and
finally, save as a different document.
Take a look at HSSFWorkbook.createName(), HSSFName, and
HSSFWorkbook.getSheet(). The "Busy Developers' Guide..." is very helpful:
http://jakarta.apache.org/poi/hssf/quick-guide.html
Best regards,
-h
-----Original Message-----
From: Kumar akkwe [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 02:12
To: [email protected]
Subject: Need Help on Generating Charts
Hi!
I am new to Jakarta POI. I am developing an application where i have
generate
charts (pie diagrams, bar charts etc) based on statistical data through
Java.
Here i am using HSSF api. Can any one help me out with sample example or
refer me in order to solve this problem.
Very Urgent..
Thanks In Advance
-Jeevan
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/