New to KendoReact? Start a free 30-day trial
Export Options
Export OptionsPremium
The Chart Wizard allows the user to save the charts in PDF, PNG and SVG formats by setting the exportOptions
property to an ExportOptions object.
jsx
const exportOptions: ExportOptions = {
fileName: 'report',
pdf: {
paperSize: 'Letter'
},
image: {
width: 1900, // px
height: 1200
}
};
You can further configure the exported file type by setting the image
property to an ImageExportOptions
object and the pdf
property to a PDFOptions
object.
The following example demonstrates how to customize the export options of the component by configuring options like fileName
, pdf.paperSize
and image
dimensions inside the exportOptions
of the component.
Change Theme
Theme
Loading ...