Converting Chart to Image in SVG Format

[ ]

The following sample code explains how to use Aspose.Cells to convert a chart into an SVG format image. The code loads the source Excel file and then saves the first chart found on the first worksheet to SVG.

The following screenshot shows the converted chart image in SVG format created with the sample code.

Output image


Because SVG is an XML-based format, you can also open the output chart image in a text editor like Notepad as shown in this screenshot.

Output SCG in a text editor