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!
JavaMicrosoft ExcelSpreadsheets

Avatar of undefined
Last Comment
Mick Barry
Avatar of for_yan
for_yan
Flag of United States of America image


Check Apache POI
http://poi.apache.org/
Avatar of dshrenik
dshrenik
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of for_yan
for_yan
Flag of United States of America image



That was the solution in thea question
http://jxls.sourceforge.net/samples/chartsample.html
Avatar of dshrenik
dshrenik
Flag of United States of America image

ASKER

Ehich of jxls and Apache POI would you suggest considering licensing issues?
Avatar of for_yan
for_yan
Flag of United States of America image


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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Mick Barry
Mick Barry
Flag of Australia image

we've used jxls in the past, it does a pretty good job
Microsoft Excel
Microsoft Excel

Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.

144K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo