Aspose.Cells - Convert Chart to Images

//Get the Chart image
ImageOrPrintOptions imgOpts = new ImageOrPrintOptions();
imgOpts.setImageFormat(ImageFormat.getPng());

//Save the chart image file.
chart.toImage(new FileOutputStream("data/AsposeChartImage.png"), imgOpts);

Download Source Code

For More Examples, Please Visit Aspose Docs

Last edited May 23, 2014 at 7:14 AM by shoaibkhan, version 6