It's not a secret anymore!
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
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: 20079
    
  30

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 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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.
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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.
 
Have you checked out Aspose?
 
subject: help regarding creating charts in excel from java code using any private APIs:
 
It's not a secret anymore!