Export Options
To export the charts of the ChartWizard component to PDF, PNG, or SVG formats, set the desired properties in the exportOptions
object.
You can configure the parameters of the exported image by setting the image property to an exportOptions.image
object and the exported PDF file by utilizing the exportOptions.pdf
object.
The following example demonstrates how to customize the export options of the component.
<div id="chartwizard"></div>
$("#chartwizard").kendoChartWizard({
dataSource: [
[
{ field: 'Product Name', value: 'Calzone' },
{ field: 'Quantity', value: 1 },
{ field: 'Price', value: 12.39 },
{ field: 'Tax', value: 2.48 },
{ field: 'Total', value: 14.87 }
]
],
exportOptions: {
fileName: "report",
pdf: {
paperSize: "A4",
},
image: {
width: 1900,
height: 1200,
},
}
});