# Export Options

The Chart provides support for Image, PDF, and SVG export using the [Drawing](https://www.telerik.com/kendo-react-ui-develop/components/drawing) package.

As a result, you can send a Base64-encoded file to a service or save it on the client machine by using the [File Saver](https://www.telerik.com/kendo-react-ui-develop/components/filesaver) package.

The Chart supports the following options:

* [Exporting to a drawing visual](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/export-options#exporting-to-drawing-visuals)
* [Exporting to an image](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/export-options#exporting-to-images)
* [Exporting to the Portable Document Format (PDF)](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/export-options#exporting-to-pdf)
* [Exporting to the Scalable Vector Graphics (SVG) image format](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/export-options#exporting-to-svg)

## Exporting to Drawing Visuals

In order to export a Chart component as a Drawing scene use the exportVisual method and pass a Chart instance and export options.

The following example demonstrates how to export the Chart as a Drawing visual scene by using the `exportVisual` method.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/visuals/func/source.txt)

## Exporting to Images

Once you export the Chart as a Drawing scene, you can save this visual as an SVG by using the [`exportSVG`](https://www.telerik.com/kendo-react-ui-develop/components/drawing/api/exportsvg) method of the [Drawing](https://www.telerik.com/kendo-react-ui-develop/components/drawing) package. The following example demonstrates how to achieve this.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/images/func/source.txt)

By default, the exported image is of the same size as the Chart DOM element. If required, you can export the file to a different resolution. If you change the image size, the image quality will not be affected because the rendering of the Chart is based on vector graphics.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/resolution/func/source.txt)

## Exporting to PDF

The [`exportPDF`](https://www.telerik.com/kendo-react-ui-develop/components/drawing/api/pdf/exportpdf) method from the [Drawing](https://www.telerik.com/kendo-react-ui-develop/components/drawing) library takes a visual element and produces a PDF file out of it.

> Currently, exporting the [series pattern fills](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/styling#using-pattern-fills) to PDF is not supported.

### Saving Charts in PDF

The following example demonstrates how to save the Chart as a PDF file by using the `exportPDF` method.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/saving-pdf/func/source.txt)

### Fitting Charts to Paper Size

If the rendered Chart is bigger than the exported PDF paper size, then the Chart is clipped. To avoid this behavior, either:

* Set the `exportVisual` size, or
* Scale the drawing element which is returned by the `exportVisual` method.

The following example demonstrates how to fit the exported Chart to the paper size of the PDF file.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/fitting-to-paper-size/func/source.txt)

## Exporting to SVG

Once you export the Chart as a Drawing scene, you can save this visual as an SVG by using the [`exportSVG`](https://www.telerik.com/kendo-react-ui-develop/components/drawing/api/exportsvg) method of the [Drawing](https://www.telerik.com/kendo-react-ui-develop/components/drawing) package. The following example demonstrates how to achieve this.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/export-options/exporting-to-svg/func/source.txt)

## Suggested Links

* [Elements](https://www.telerik.com/kendo-react-ui-develop/components/charts/chart/elements/axes)
* [API Reference of the Chart](https://www.telerik.com/kendo-react-ui-develop/components/charts/api)
* [Glossary](https://www.telerik.com/kendo-react-ui-develop/components/charts/glossary)
