Aspose Java for Docx4j Wiki
Aspose - Your File Format Expert
Status: Abandoned
Brought to you by:
asposemp
//Get the Chart image
ImageOrPrintOptions imgOpts = new ImageOrPrintOptions();
imgOpts.setImageFormat(ImageFormat.getPng());
//Save the chart image file.
chart.toImage(new FileOutputStream(dataPath + "AsposeChartImage_Out.png"), imgOpts);
Download Source Code
Many more examples are available at Aspose Docs.