How to export Chart as image
Posted: Thu Aug 29, 2019 11:38 pm
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.
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.