Is there any way to extract charts from excel and convert them to image format using java?

317 views Asked by At

I am working on an application that generates a xdoc output with a series of charts and tables, whose data comes from a given excel file. Currently I have been able to generate the necessary charts and tables managing the data with Apache Poi and generating the actual charts in a separate excel file using GCExcel, nevertheless, Apache does not include support to turn XSSFChart objecs into images in order to insert them into the document, and GCexcel's unlicensed version doesn't allow me to exoprt charts to images either. Anybody knows a way in which I can work around this issue?

1

There are 1 answers

2
Mohsen On

Check out Spire.XLS library.

Download the free version here

Read what you can do using the library (features)

Official tutorial

Convert the excel file to image

I am not sure if this will actually work because I did not implement something like this before.