Link to home
Start Free TrialLog in
Avatar of dshrenik
dshrenikFlag for United States of America

asked on

Generate an Excel spreadsheet with a graph through Java

Say I have 2 arraylists (or any other data structure) of numbers in Java, please let me know if I can automatically create an Excel file through Java with a graph that plots values from these 2 arraylists.

Thanks!
Avatar of for_yan
for_yan
Flag of United States of America image


Check Apache POI
http://poi.apache.org/
Avatar of dshrenik

ASKER

Please let me know if there are any tutorials or sample code for this.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial


That was the solution in thea question
http://jxls.sourceforge.net/samples/chartsample.html
Ehich of jxls and Apache POI would you suggest considering licensing issues?

It is like any open source, I was under impression, that all this stuff you can distribute with your product, but read here:
http://jxls.sourceforge.net/license.html

SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
we've used jxls in the past, it does a pretty good job