This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes help regarding creating charts in excel from java code using any private APIs: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "help regarding creating charts in excel from java code using any private APIs:" Watch "help regarding creating charts in excel from java code using any private APIs:" New topic
Author

help regarding creating charts in excel from java code using any private APIs:

mohan rajv
Ranch Hand

Joined: Jan 28, 2009
Posts: 30
is it possible to create charts in excel file from java code?
if possible, wat are the jar files i have to import and anyone have the sample code for tat?
thanks in advance..
Mikko Kohtamäki
Ranch Hand

Joined: Dec 13, 2008
Posts: 112
no
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

Well, perhaps it is through some unknown 3rd party library. I'd say Google will help you out more in this case then we can.

If such a library exists, expect it to be non-free though.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
OpenOffice has a server mode in which it can be driven through a Java API. That should make it possible to create spreadsheets that contain charts, and save them as Excel files. The OO API has a steep learning curve, though.


Ping & DNS - my free Android networking tools app
mohan rajv
Ranch Hand

Joined: Jan 28, 2009
Posts: 30
what is mean by openoffice server mode?
could you please explain about that in detail..






OpenOffice has a server mode in which it can be driven through a Java API. That should make it possible to create spreadsheets that contain charts, and save them as Excel files. The OO API has a steep learning curve, though
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
In server mode OO runs as a background process with no GUI, and can be used over the network through an API. See here for some hints on how that might work.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: help regarding creating charts in excel from java code using any private APIs:
 
Similar Threads
Excel steps -
convert excel
Generating reports using Java
writing to excel sheet
java to create charts in excel