Page 1 of 1

How to export Chart as image

PostPosted: Thu Aug 29, 2019 11:38 pm
by hatdo45
I have a bar chart (linked to Pivot table) in an xlsx, i need to change some values in that chart (via pivot table) and the updated chart needs to be exported as image, which i will need later to add it to a docx document, everything programmatically using docx4j.
I tried few ways, but no success.

Alternatively, it is also possible to copy the chart (with pivot) from Excel and paste to PPTX and then export that chart as image from there.

As i am new to docx4j, i tried looking in to the samples but nothing found, i don't know exactly how to do it.

Re: How to export Chart as image

PostPosted: Sun Sep 29, 2019 4:39 am
by DneprM750
Hello everyone, I'm new to the forum and have joined it because I have trouble handling .xlsx files as well... I'm using them a lot for professional reasons and need to export them as images or to Powerpoint as well, does anyone have an answer about how to do that?